[svn4055] build failure on Linux
Posted: Tue Aug 02, 2011 2:14 am
The -pagezero_size and -image_base flags added to Debug in premake4.lua are Darwin-only gcc options. Compilation fails on Ubuntu 10.10 with:
Code: Select all
==== Building physfs ====
physfs_byteorder.c
cc: 10000: No such file or directory
cc: 100000000: No such file or directory
cc: unrecognized option '-pagezero_size'
cc1: error: unrecognized command line option "-image_base"
make[1]: *** [../obj/Debug/physfs/physfs_byteorder.o] Error 1
make: *** [physfs] Error 2