- Timestamp:
- 2023-04-04T19:37:34+12:00 (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/makegs2.sh
r35534 r37603 51 51 # echo "64 bit unix system, incl -fPIC in CFLAGS so it is now: $CFLAGS" 52 52 #fi 53 54 # Ever since around MacOS version Monterey, warnings about functions not pre-declared with extern 55 # are turned into errors instead when compiling. We want them behaving like warnings again. 56 # To do so, we set -Wno-error=implicit-function-declaration 57 if test "$GSDLOS" = "darwin"; then 58 if test "x$CFLAGS" = "x" ; then 59 CFLAGS="-Wno-error=implicit-function-declaration" 60 else 61 CFLAGS="-Wno-error=implicit-function-declaration $CFLAGS" 62 fi 63 export CFLAGS 64 fi 53 65 54 66 # Compile by chaining the commands with && so it stops at that stage after an error
Note:
See TracChangeset
for help on using the changeset viewer.