build: -D/-I arguments go into CPPFLAGS
authorJan Engelhardt <jengelh@inai.de>
Sun, 25 Nov 2018 09:20:08 +0000 (10:20 +0100)
committerhimanshu <h.himanshu@samsung.com>
Tue, 11 Feb 2020 08:58:20 +0000 (14:28 +0530)
commit2cc69e766bc6949f447fc88ee9030a415d3d71c5
treec1236a2e8e16567a4c4baa05265707c192745c94
parent438e7c248187b98e56a7ef234a99c46f1cad8f1d
build: -D/-I arguments go into CPPFLAGS

-D and -I are preprocessor directives, they are therefore to appear
in CPPFLAGS, not CFLAGS. (It is unfortunate that pkg-config does not
make the distinction / or it was misnamed, because only -D/-I make
sense to be emitted by pkg-config in the first place — anything else
(-f/-m) has the potential to mess up someone's compilation. So
pkg-config's Cflags is actually used to convery Cppflags.)

Change-Id: I7031834ae2d9446367ce02ca78be9842dece0683
Signed-off-by: himanshu <h.himanshu@samsung.com>
Makefile.am
Makefile.obexd
Makefile.plugins
android/Makefile.am