[LLVMbugs] [Bug 6389] LLVM build system ignores compilation flags given to ./configure script

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 22 09:40:55 PST 2010


http://www.llvm.org/bugs/show_bug.cgi?id=6389

--- Comment #5 from Yann Droneaud <yann at droneaud.fr> 2010-02-22 11:40:55 CST ---
As a workaround, I have to specify the flags twice: one time for ./configure
and a second time as make's arguments.

./configure CXXFLAGS="-O2 -g -march=native" CFLAGS="-O2 -g -march=native"

make CXXFLAGS+="-O2 -g -march=native" CFLAGS+="-O2 -g -march=native"

But it is not expected and prone to error: each time I re-run make I have to
remember to add the correct flags on command line.

-- 
Configure bugmail: http://www.llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the llvm-bugs mailing list