mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
* Makefile.in (SUBDIR_MAKEFILES):
* lwlib/Makefile.in (WARN_CFLAGS): Use built-in Make functions rather than echo+sed.
This commit is contained in:
parent
76f2d766ad
commit
7934415695
@ -290,7 +290,7 @@ SUBDIR = $(NTDIR) lib lib-src src lisp
|
||||
|
||||
# The subdir makefiles created by config.status.
|
||||
SUBDIR_MAKEFILES_IN = @SUBDIR_MAKEFILES_IN@
|
||||
SUBDIR_MAKEFILES = `echo $(SUBDIR_MAKEFILES_IN:.in=) | sed 's|$(srcdir)/||g'`
|
||||
SUBDIR_MAKEFILES = $(patsubst ${srcdir}/%,%,${SUBDIR_MAKEFILES_IN:.in=})
|
||||
|
||||
# Subdirectories to install, and where they'll go. lib-src's and nt's
|
||||
# makefiles know how to install them, so we don't do that here.
|
||||
|
@ -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@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user