summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/h8300
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/h8300')
-rw-r--r--libc/sysdeps/linux/h8300/Makefile2
-rw-r--r--libc/sysdeps/linux/h8300/crt0.S2
-rw-r--r--libc/sysdeps/linux/h8300/vfork.S2
3 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/h8300/Makefile b/libc/sysdeps/linux/h8300/Makefile
index 68093e132..d6d0b7c2a 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)),false)
+ifeq ($(strip $(HAVE_ELF)),n)
rm -f $(TOPDIR)/include/float.h
endif
diff --git a/libc/sysdeps/linux/h8300/crt0.S b/libc/sysdeps/linux/h8300/crt0.S
index cbd40f317..2fe9d0d53 100644
--- a/libc/sysdeps/linux/h8300/crt0.S
+++ b/libc/sysdeps/linux/h8300/crt0.S
@@ -46,7 +46,7 @@ __exit:
*/
empty_func:
rts
-#if defined(HAVE_ELF)
+#if defined(__HAVE_ELF__)
.weak atexit
atexit = empty_func
#else
diff --git a/libc/sysdeps/linux/h8300/vfork.S b/libc/sysdeps/linux/h8300/vfork.S
index 889b43ace..aa8520d89 100644
--- a/libc/sysdeps/linux/h8300/vfork.S
+++ b/libc/sysdeps/linux/h8300/vfork.S
@@ -10,7 +10,7 @@
.align 2
.globl _errno
.globl _vfork
-#if defined HAVE_ELF
+#if defined __HAVE_ELF__
.type vfork,@function
#endif
_vfork: