[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why I can not overwrite CXXFLAGS values?
From: |
Steven Woody |
Subject: |
Why I can not overwrite CXXFLAGS values? |
Date: |
Sat, 7 Jun 2008 02:54:59 +0800 |
In my system, the default CXXFLAGS is '-g -O2'. But, for a particular
program, I need -O0 and without -g. I tried something like:
bin_PROGRAS = xxx
xxx_CXXFLAGS = -O0
in Makefile.am. But, the final CXXFLAGS used when I compile is
actually -O0 -g -O2, the default CXXFLAGS appended to my xxx_CXXFLAGS.
What should I do?
Thanks in advance.
-
narke
- Why I can not overwrite CXXFLAGS values?,
Steven Woody <=