Changeset 31732
- Timestamp:
- 2017-06-12T17:12:06+12:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/makegs2.sh
r28513 r31732 8 8 gsdlhome=`pwd` 9 9 echo "**** GSDLHOME: $gsdlhome" 10 11 bitness=`uname -m` 12 # if we're 64 bit, add -fPIC to CFLAGS. Check if bitness contains substring "64" 13 if [[ $bitness == *"64"* ]]; then 14 export CFLAGS="-fPIC $CFLAGS" 15 echo "64 bit unix system, incl -fPIC in CFLAGS so it is now: $CFLAGS" 16 fi 10 17 11 18 # Compile by chaining the commands with && so it stops at that stage after an error … … 36 43 echo "@@@ Error compiling up Greenstone. Return status: $status" 37 44 fi 45 if [[ $bitness == *"64"* ]]; then 46 echo "" 47 echo "This unix is 64 bit. So added -fPIC to CFLAGS, which is now: $CFLAGS" 48 fi 38 49 echo "****************************************" 39 50
Note:
See TracChangeset
for help on using the changeset viewer.