wxWidgets/samples/calendar
Vadim Zeitlin ec091c9f2b Don't override CFLAGS etc in configure-generated makefile
CPPFLAGS, CFLAGS, CXXFLAGS and LDFLAGS are supposed to be under
user-control and putting configure-determined options in them broke
something as simple as running "make CXXFLAGS=-Wno-some-extra-warning"
because this overrode the CXXFLAGS set by configure and required for
build.

Improve this by using WX_*FLAGS in the generated makefile and leaving
the user-controlled FLAGS alone. This is still not ideal as running
"configure CFLAGS=-DFOO" and then "make CFLAGS=-DBAR" will define both
FOO and BAR, as configure copies CFLAGS to WX_CFLAGS, and so setting it
on make command line won't override it, as it should, but this should be
a much more rare and also much less severe problem, so we should be able
to live with it for now.

Normally this commit shouldn't result in any user-visible changes, i.e.
it shouldn't break any previously working scenarios and only make some
previously broken ones work.
2020-02-11 23:19:31 +01:00
..
calendar_vc7.vcproj Rename manifests to use underscores 2019-12-13 21:44:26 +01:00
calendar_vc8.vcproj Rename manifests to use underscores 2019-12-13 21:44:26 +01:00
calendar_vc9.vcproj Rename manifests to use underscores 2019-12-13 21:44:26 +01:00
calendar.bkl Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
calendar.cpp Fix unannotated fall-through warnings 2018-11-25 21:29:37 +01:00
calendar.rc
descrip.mms
makefile.bcc Rebake after adding DPI awareness option 2019-11-30 22:52:48 +01:00
makefile.gcc Rebake after adding DPI awareness option 2019-11-30 22:52:48 +01:00
Makefile.in Don't override CFLAGS etc in configure-generated makefile 2020-02-11 23:19:31 +01:00
makefile.unx Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
makefile.vc Rename manifests to use underscores 2019-12-13 21:44:26 +01:00