GNOME Bugzilla – Bug 741223
Never override CFLAGS in a makefile
Last modified: 2014-12-09 08:54:49 UTC
This prevents the user from setting his own desired CFLAGS
Created attachment 292255 [details] [review] Never override CFLAGS in a makefile This prevents the user from specifying his own desired CFLAGS.
Created attachment 292259 [details] [review] Don't set AM_CFLAGS in configure.ac This makes it impossible to use AM_CFLAGS, a useful variable, without manually overwriting the value given in configure.ac. Instead, just add WARN_CFLAGS to AM_CFLAGS everywhere. Also, stop setting several other variables with empty values.
Created attachment 292260 [details] [review] Don't set AM_CFLAGS in configure.ac This makes it impossible to use AM_CFLAGS, a useful variable, without manually overwriting the value given in configure.ac. Instead, just add WARN_CFLAGS to AM_CFLAGS everywhere. Also, stop setting several other variables with empty values.
Review of attachment 292255 [details] [review]: Looks better.
Review of attachment 292260 [details] [review]: I would probably remove the empty valued variables in a separate patch, if you don't mind.