summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-05 21:06:51 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-05 21:06:51 +0000
commite28fe9858530ae5393882f96ac6f39f894f56da7 (patch)
treeb14bf9808074a4cd18bb388b360a86a672296b54
parent6e8f649c6e4b45ad56ed5d05fc6721b9646e5d0e (diff)
Fixup handling of disabled options
-rw-r--r--Rules.mak2
-rw-r--r--libc/sysdeps/linux/h8300/Makefile2
-rw-r--r--libc/sysdeps/linux/m68k/Makefile4
3 files changed, 4 insertions, 4 deletions
diff --git a/Rules.mak b/Rules.mak
index 7051d839c..d9d99a679 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -172,7 +172,7 @@ endif
ifeq ($(strip $(DOPIC)),y)
CFLAGS += -fPIC
endif
-ifeq ($(strip $(HAS_FPU)),n)
+ifneq ($(strip $(HAS_FPU)),y)
CFLAGS += -msoft-float
endif
diff --git a/libc/sysdeps/linux/h8300/Makefile b/libc/sysdeps/linux/h8300/Makefile
index d6d0b7c2a..d63500a54 100644
--- a/libc/sysdeps/linux/h8300/Makefile
+++ b/libc/sysdeps/linux/h8300/Makefile
@@ -63,7 +63,7 @@ headers:
clean:
rm -f *.[oa] *~ core
-ifeq ($(strip $(HAVE_ELF)),n)
+ifneq ($(strip $(HAVE_ELF)),y)
rm -f $(TOPDIR)/include/float.h
endif
diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile
index 7130c58d6..78f1c3f19 100644
--- a/libc/sysdeps/linux/m68k/Makefile
+++ b/libc/sysdeps/linux/m68k/Makefile
@@ -71,7 +71,7 @@ $(COBJS): %.o : %.c
$(STRIPTOOL) -x -R .note -R .comment $*.o
headers:
-ifeq ($(strip $(HAVE_ELF)),n)
+ifneq ($(strip $(HAVE_ELF)),y)
echo "Working around compiler bug in the m68k-pic-coff toolchain"
cd $(TOPDIR)/include && ln -fs ../libc/sysdeps/linux/m68k/float.h .
endif
@@ -80,7 +80,7 @@ endif
clean:
rm -f *.[oa] *~ core
rm -f bits/sysnum.h
-ifeq ($(strip $(HAVE_ELF)),n)
+ifneq ($(strip $(HAVE_ELF)),y)
rm -f $(TOPDIR)/include/float.h
endif