Ticket #16275: patch-foreign-1.1d8-c-c.diff
File patch-foreign-1.1d8-c-c.diff, 1.5 KB (added by Jacobus.Geluk@…, 16 years ago) |
---|
-
../foreign-1.1d8/c/c
old new 195 195 RANLIB=1 196 196 197 197 elif [ "$UTYPE" = "FreeBSD" ]; then 198 STDLIBS="-lm "199 CCOPTS="-Wall "198 STDLIBS="-lm -L/usr/local/lib -lpcre -lapr-1 -laprutil-1" 199 CCOPTS="-Wall -Wno-strict-aliasing -Wno-cast-qual -Wno-pointer-sign -I/usr/local/include -I/usr/local/include/apr-1 -I../base-1.2d7/_install/include" 200 200 [ -z "$BOOM_MODEL_NOOPT" ] && CCDEBUG="-O" 201 201 [ -z "$BOOM_MODEL_NOOPT" ] && CCNODEBUG="-O2" 202 202 CCNAME="${CCNAME:-gcc}" # Use gcc if not set 203 203 CCPLUS="${CCPLUS:-g++}" # Use g++ if not set 204 if [ "$BOOM_MODEL_MT" ]; then 205 CCOPTS="$CCOPTS -pthread -D_REENTRANT" 206 # Request iCL use direct memory allocator by default for 207 # MT release builds. 208 CCOPTS="$CCOPTS -DICL_MEM_DEFAULT_DIRECT" 209 BOOM_SUPPORTS_MT=1 # MT code is supported 210 fi 211 if [ "$BOOM_MODEL_GPROF" ]; then 212 CCOPTS="$CCOPTS -pg" 213 BOOM_SUPPORTS_GPROF=1 214 fi 215 CCOPTS="$CCOPTS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE" 204 216 RANLIB=1 205 217 LINKTYPE=gnu 206 218 … … 218 230 STDLIBS="-lm" 219 231 CCOPTS="-Ae -D_HPUX_SOURCE" # May need -Aa 220 232 [ -z "$BOOM_MODEL_NOOPT" ] && CCNODEBUG="-O" 221 LINKTYPE=be fore233 LINKTYPE=beFore 222 234 223 235 elif [ "$UTYPE" = "Linux" ]; then 224 236 STDLIBS="-lm"