* Makefile.in (src/Makefile): Propagate C_SWITCH_SYSTEM to the src
directory's makefile. This allows the invocation of CPP which builds xmakefile to receive these switches. The SunSoft C preprocessor inserts spaces between tokens if it doesn't get the -Xs flag requested in src/s/sol2.h.
This commit is contained in:
parent
eb0d9f0861
commit
174be3e7d6
1 changed files with 1 additions and 0 deletions
|
@ -282,6 +282,7 @@ src/Makefile: ${srcdir}/src/Makefile.in Makefile
|
|||
-e 's|^CPP *=.*$$|CPP=${CPP}|' \
|
||||
-e 's|^LN_S *=.*$$|LN_S=${LN_S}|' \
|
||||
-e 's|^CFLAGS *=.*$$|CFLAGS=${CFLAGS}|' \
|
||||
-e 's|^\(C_SWITCH_SYSTEM *=\).*$$|\1'"${C_SWITCH_SYSTEM}"'|' \
|
||||
-e 's|^\(LD_SWITCH_X_SITE *=\).*$$|\1${LD_SWITCH_X_SITE}|' \
|
||||
-e '/^# DIST: /d') > src/Makefile.tmp
|
||||
@${srcdir}/move-if-change src/Makefile.tmp src/Makefile
|
||||
|
|
Loading…
Add table
Reference in a new issue