wxWidgets/samples/html
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
..
about Don't override CFLAGS etc in configure-generated makefile 2020-02-11 23:19:31 +01:00
help Don't override CFLAGS etc in configure-generated makefile 2020-02-11 23:19:31 +01:00
helpview Don't override CFLAGS etc in configure-generated makefile 2020-02-11 23:19:31 +01:00
htmlctrl Don't override CFLAGS etc in configure-generated makefile 2020-02-11 23:19:31 +01:00
printing Don't override CFLAGS etc in configure-generated makefile 2020-02-11 23:19:31 +01:00
test Don't override CFLAGS etc in configure-generated makefile 2020-02-11 23:19:31 +01:00
virtual Don't override CFLAGS etc in configure-generated makefile 2020-02-11 23:19:31 +01:00
widget Don't override CFLAGS etc in configure-generated makefile 2020-02-11 23:19:31 +01:00
zip Don't override CFLAGS etc in configure-generated makefile 2020-02-11 23:19:31 +01:00
html_samples.bkl Remove all trailing spaces 2019-01-30 17:35:54 +01:00
makefile.bcc Run autoconf and rebake after adding wxUSE_DPI_AWARE_MANIFEST 2019-10-30 00:02:08 +01:00
makefile.gcc Run autoconf and rebake after adding wxUSE_DPI_AWARE_MANIFEST 2019-10-30 00:02:08 +01:00
Makefile.in
makefile.unx
makefile.vc Run autoconf and rebake after adding wxUSE_DPI_AWARE_MANIFEST 2019-10-30 00:02:08 +01:00