diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-02 13:13:27 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-02 13:13:27 -0500 |
| commit | 097e4e408e8ebf4ffe5b95263732d9e52207fcc5 (patch) | |
| tree | cdbc92f253e73ca9ae76d7a821a903e3a1b4370d | |
| parent | aa2c7727b1ee7b3747681f6b78f9ef0d36beb749 (diff) | |
only one CFLAGS, please
| -rwxr-xr-x | mkmf.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -25,8 +25,7 @@ if [ -f src/${STANDARD}/DEPS.mk ]; then fi if grep -q 'CFLAGS' src/${STANDARD}/DEPS.mk; then - #grep 'CFLAGS' src/${STANDARD}/DEPS.mk > .cflags.mk - grep 'CFLAGS' src/${STANDARD}/DEPS.mk | sed -e 's/CFLAGS/STD_CFLAGS/' >> .cflags.mk + grep 'CFLAGS' src/${STANDARD}/DEPS.mk | sed -e 's/CFLAGS/STD_CFLAGS/' > .cflags.mk fi fi @@ -106,7 +105,7 @@ if [ $(cat .dep/to-build) = ${STANDARD} ]; then cat .dep/*.o.mk >> .deps.mk - printf '$(OBJDIR)/$(ARCH)-$(WORDSIZE).o: src/internal/$(ARCH)-$(WORDSIZE).s\n\t-@mkdir -p $(OBJDIR)\n\t$(CC) $(CFLAGS) -c $? -o $@\n\n' >> .deps.mk + printf '$(OBJDIR)/$(ARCH)-$(WORDSIZE).o: src/9899-1990/nonstd/$(ARCH)-$(WORDSIZE).s\n\t-@mkdir -p $(OBJDIR)\n\t$(CC) $(CFLAGS) -c $? -o $@\n\n' >> .deps.mk printf 'all:' >> .deps.mk for i in .dep/lib*.a.mk; do |
