summaryrefslogtreecommitdiff
path: root/devel/ftnchek/patches/patch-aa
blob: 17ace45a9158e713eb2dba1d8d6428e8a0688b2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aa,v 1.6 2003/06/29 22:24:33 jtb Exp $

--- configure.orig
+++ configure
@@ -5816,6 +5806,7 @@
     if test -n "$GCC"; then
       OPT="-O2";
     fi;;
+  netbsd*) ;;
   next*)
     OPT="-O2";;
 
@@ -5931,7 +5922,7 @@
 fi
 
 
-CFLAGS="-DUNIX \$(OPT) $OS_FLAGS $PROTOFLAG \$(OPTIONS)"
+CFLAGS="$CFLAGS -DUNIX \$(OPT) $OS_FLAGS $PROTOFLAG \$(OPTIONS)"
 echo "$as_me:$LINENO: result: Compile command is $CC $CFLAGS" >&5
 echo "${ECHO_T}Compile command is $CC $CFLAGS" >&6
 echo "$as_me:$LINENO: result: \$(OPT) is $OPT" >&5