Re: [AD] CMake on Mac OS X

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


OK, I committed it with the first option.

Pete


On Wed, Sep 10, 2008 at 7:39 AM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> On 2008-09-10, Peter Hull <peterhull90@xxxxxxxxxx> wrote:
>> Seems to be a ; crept in somewhere, the command it's trying is:
>> /usr/bin/gcc   ;-fno-common
>> -I/Users/peterhull/Projects/allegro/4.9/include
>> -I/Users/peterhull/Projects/allegro/4.9/addons/iio
>> -DALLEGRO_STATICLINK -DALLEGRO_LIB_BUILD -W -Wall -Wno-unused -O2
>> -funroll-loops -ffast-math -fomit-frame-p
>> ointer -DALLEGRO_SRC -o CMakeFiles/alleg_static.dir/src/allegro.c.o
>> -c /Users/peterhull/Projects/allegro/4.9/src/allegro.c
>> Any ideas?
>
> Try:
>
>    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-common")
>    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common")
>
> At the least, this definitely should work:
>
>    set(CMAKE_C_FLAGS "-fno-common")
>    set(CMAKE_CXX_FLAGS "-fno-common")
>
> Peter
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/