diff options
author | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2016-11-06 15:49:35 +0100 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2016-12-08 15:15:27 +0000 |
commit | ef4c139ce224e4d3784bcff411604c1908b13da6 (patch) | |
tree | 7460d0f8459ced3b4d3aa24c4ec5db078b7e4483 /src/target/nds32_v3_common.h | |
parent | 1789445c8283521951543d5a130fbf10b3594705 (diff) |
configure: Don't set user variables
CFLAGS is a user variable and shouldn't be set in either
configure.ac or Makefile.am because that makes it impossible to
override compiler flags at configure or make time.
AC_SUBST the default warning flags into AM_CFLAGS instead, which
is emitted before CFLAGS on the compiler command line.
Do the same thing with a mingw-specific flag as well.
Change-Id: I6ac3a3c8b7e0abf6f0e60ea239b549d68ea6d370
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/3870
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'src/target/nds32_v3_common.h')
0 files changed, 0 insertions, 0 deletions