diff options
author | Glenn Morris <rgm@gnu.org> | 2015-06-09 15:23:47 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2015-06-09 15:23:47 -0400 |
commit | 79344156956891ded1ab79c42e8b4bc467366b3b (patch) | |
tree | 2464fd9ad6954456ebba81f469b130ced2a9b813 /lwlib | |
parent | 76f2d766ad6691eae6ae4006264f59724cc73a23 (diff) |
* Makefile.in (SUBDIR_MAKEFILES):
* lwlib/Makefile.in (WARN_CFLAGS):
Use built-in Make functions rather than echo+sed.
Diffstat (limited to 'lwlib')
-rw-r--r-- | lwlib/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lwlib/Makefile.in b/lwlib/Makefile.in index cbc747cbba..bfeef16571 100644 --- a/lwlib/Makefile.in +++ b/lwlib/Makefile.in @@ -31,7 +31,8 @@ C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ PROFILING_CFLAGS = @PROFILING_CFLAGS@ -WARN_CFLAGS = `echo @WARN_CFLAGS@ | sed 's/ -Wwrite-strings//'` +WARN_CFLAGS = @WARN_CFLAGS@ +WARN_CFLAGS := $(filter-out -Wwrite-strings,${WARN_CFLAGS}) WERROR_CFLAGS = @WERROR_CFLAGS@ CAIRO_CFLAGS= @CAIRO_CFLAGS@ |