]> git.sur5r.net Git - openocd/commit
helper,rtos,server: Restore missing warning flags
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Tue, 27 Dec 2016 00:47:23 +0000 (01:47 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Sun, 15 Jan 2017 10:16:16 +0000 (10:16 +0000)
commit7436f7c2c0318fabce777d8886b302e3ca128606
treeb8173074631e47abc0d221e2c97d21bf0b288aba
parent7851207cf0d03428904a80f64db295268919ce86
helper,rtos,server: Restore missing warning flags

These libraries override the used CFLAGS without adding the
defaults. This didn't have any effect until change
http://openocd.zylin.com/3870 (ef4c139). Restore by adding
AM_CLAGS to the per-target CFLAGS.

Interestingly, automake seems to clear the CFLAGS for the target
even if the override variable is only mentioned within a non-active
conditional branch, such as the IS_MINGW for the affected libraries.

Change-Id: I805206865e59e3fa33a7ea3c0d3472e51219351c
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/3927
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/helper/Makefile.am
src/rtos/Makefile.am
src/server/Makefile.am