Skip to content

Commit 1c4cfdc

Browse files
authored
Stay compatible with old gmake that did not support undefine
1 parent f6a57d8 commit 1c4cfdc

File tree

1 file changed

+17
-25
lines changed

1 file changed

+17
-25
lines changed

Makefile.system

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
INCLUDED = 1
77

88
ifndef TOPDIR
9-
TOPDIR = .
9+
TOPDIR = .
1010
endif
1111

1212
# If ARCH is not set, we use the host system's architecture for getarch compile options.
@@ -252,30 +252,22 @@ DUMMY := $(shell $(MAKE) -C $(TOPDIR) -f Makefile.prebuild CC="$(CC)" FC="$(FC)"
252252
ifndef TARGET_CORE
253253
include $(TOPDIR)/Makefile.conf
254254
else
255-
ifdef HAVE_NEON
256-
undefine HAVE_NEON
257-
endif
258-
ifdef HAVE_VFP
259-
undefine HAVE_VFP
260-
endif
261-
ifdef HAVE_VFPV3
262-
undefine HAVE_VFPV3
263-
endif
264-
ifdef HAVE_VFPV4
265-
undefine HAVE_VFPV4
266-
endif
267-
undefine HAVE_MMX
268-
undefine HAVE_SSE
269-
undefine HAVE_SSE2
270-
undefine HAVE_SSE3
271-
undefine HAVE_SSSE3
272-
undefine HAVE_SSE4_1
273-
undefine HAVE_SSE4_2
274-
undefine HAVE_SSE4A
275-
undefine HAVE_SSE5
276-
undefine HAVE_AVX
277-
undefine HAVE_AVX2
278-
undefine HAVE_FMA3
255+
HAVE_NEON=
256+
HAVE_VFP=
257+
HAVE_VFPV3=
258+
HAVE_VFPV4=
259+
HAVE_MMX=
260+
HAVE_SSE=
261+
HAVE_SSE2=
262+
HAVE_SSE3=
263+
HAVE_SSSE3=
264+
HAVE_SSE4_1=
265+
HAVE_SSE4_2=
266+
HAVE_SSE4A=
267+
HAVE_SSE5=
268+
HAVE_AVX=
269+
HAVE_AVX2=
270+
HAVE_FMA3=
279271
include $(TOPDIR)/Makefile_kernel.conf
280272
endif
281273

0 commit comments

Comments
 (0)