Explorar el Código

Fixup handling of disabled options

Eric Andersen hace 21 años
padre
commit
e28fe98585
Se han modificado 3 ficheros con 4 adiciones y 4 borrados
  1. 1 1
      Rules.mak
  2. 1 1
      libc/sysdeps/linux/h8300/Makefile
  3. 2 2
      libc/sysdeps/linux/m68k/Makefile

+ 1 - 1
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
 

+ 1 - 1
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
 

+ 2 - 2
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