mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-18 14:31:18 +02:00
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
--- ./configure.orig 2009-10-01 21:04:08.000000000 +0300
|
|
+++ ./configure 2014-12-26 20:41:20.000000000 +0200
|
|
@@ -9141,7 +9141,7 @@
|
|
hardcode_shlibpath_var=no
|
|
;;
|
|
|
|
- freebsd1*)
|
|
+ freebsd1.*)
|
|
ld_shlibs=no
|
|
;;
|
|
|
|
@@ -10042,7 +10042,7 @@
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
;;
|
|
|
|
-freebsd1*)
|
|
+freebsd1.*)
|
|
dynamic_linker=no
|
|
;;
|
|
|
|
@@ -10053,7 +10053,7 @@
|
|
objformat=`/usr/bin/objformat`
|
|
else
|
|
case $host_os in
|
|
- freebsd[123]*) objformat=aout ;;
|
|
+ freebsd[123].*) objformat=aout ;;
|
|
*) objformat=elf ;;
|
|
esac
|
|
fi
|
|
@@ -11863,7 +11863,11 @@
|
|
case $host in
|
|
*)
|
|
DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES"
|
|
- CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
|
|
+ if $CC -v 2>&1 | grep clang > /dev/null; then
|
|
+ CFLAGS="-Wall -Wno-parentheses -O3 -fomit-frame-pointer -finline-functions -funroll-loops"
|
|
+ else
|
|
+ CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
|
|
+ fi
|
|
PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";;
|
|
esac
|
|
fi
|