i use ide whenever write own code. don't know make, configure scripts, etc.
i'm working on large , complicated existing project now, , steps build are:
./autogen.sh ./configure make
i wrote own c files , added them makefile.am. repeat process build.
everything fine, except 1 thing. want build without compiler options -wall. told using cflags give me want:
./configure cflags=-o0
it doesn't seem work, because compiler still uses -wall option. can manually remove occurances of -wall cflags="..." in configure script. annoying works. when execute
./autogen.sh
the configure script reset of -walls (and other clfags don't want) in original places. (i'm not sure think have run autogen.sh every time add new files makefile.am.)
is there better way deal this?
the simplest way might when building, using make
:
make cflags=-o0
that's temporary build though, won't permanent.
Comments
Post a Comment