equal
deleted
inserted
replaced
221 # arm |
221 # arm |
222 if [ "$A_NAME" = "arm" ]; then |
222 if [ "$A_NAME" = "arm" ]; then |
223 SUB_ARCH_NAME=arm |
223 SUB_ARCH_NAME=arm |
224 fi |
224 fi |
225 |
225 |
|
226 # mingw32 |
|
227 if [ "$A_NAME" = "mingw32" ]; then |
|
228 SUB_ARCH_NAME=mingw32 |
|
229 fi |
|
230 |
226 if [ "$SUB_ARCH_NAME" = "" ]; then |
231 if [ "$SUB_ARCH_NAME" = "" ]; then |
227 echo "Error: could not detect what architecture this system is running!" |
232 echo "Error: could not detect what architecture this system is running!" |
228 echo "Please supply manually instead with \"--arch=foo\"" |
233 echo "Please supply manually instead with \"--arch=foo\"" |
229 exit -1 |
234 exit -1 |
230 fi |
235 fi |
231 |
236 |
232 echo "Using OS: ${SUB_OS_NAME}" |
237 echo "Host OS: ${SUB_OS_NAME}" |
233 echo "Using architecture: ${SUB_ARCH_NAME}" |
238 echo "Host arch: ${SUB_ARCH_NAME}" |
234 |
239 |
235 if [ "$SUB_ARCH_NAME" = "x86_64" -a "$CC" = "gcc" ]; then |
240 if [ "$SUB_ARCH_NAME" = "x86_64" -a "$CC" = "gcc" ]; then |
236 # Only if we are on x86_64 and using gcc |
241 # Only if we are on x86_64 and using gcc |
237 # For shared library generation, it needs this |
242 # For shared library generation, it needs this |
238 SUB_PROG_CFLAGS=-fPIC |
243 SUB_PROG_CFLAGS=-fPIC |