summaryrefslogtreecommitdiff
path: root/lang/yap-devel/files/patch-configure
blob: 3b7fca675b8e8cbc6356fc75407ab791067be403 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"