1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-14 15:59:18 -04:00
ports/lang/yap-devel/files/patch-configure
Danilo Egea Gondolfo 2609843e43 - Remove gcc dependency on i386
- Use options helpers to install DOCS

PR:		222963
Submitted by:	tobik
Reported by:	jbeich
2018-07-29 16:42:39 +00:00

19 lines
785 B
Text

https://sourceforge.net/p/yap/yap-6.3/ci/da61f1c31fed
--- configure.orig 2013-01-19 11:48:08 UTC
+++ configure
@@ -5169,13 +5169,9 @@ then
C_PARSER_FLAGS="-O3 -Wall -Wstrict-prototypes -Wmissing-prototypes $CFLAGS"
CFLAGS="-O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes $CFLAGS"
case "`$CC --version < /dev/null`" in
- *3.4*) CFLAGS="-fno-gcse -fno-crossjumping $CFLAGS" ;;
+ gcc-3.4*) CFLAGS="-fno-gcse -fno-crossjumping $CFLAGS" ;;
esac
case "$target_cpu" in
- i*86*)
- CFLAGS="-DBP_FREE $CFLAGS"
- CXXFLAGS="-DBP_FREE $CXXFLAGS"
- ;;
sparc*)
case "$target_os" in
*solaris2-9*) CFLAGS="-mno-app-regs -DOPTIMISE_ALL_REGS_FOR_SPARC=1 $CFLAGS"