Skip to content

Commit 2e1480a

Browse files
committed
macOS ARM: silence the 'redefining builtin macro' preprocessor warning
That was annoying. Fixes: #558
1 parent 51a8450 commit 2e1480a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ if test "$arch" = "aarch64"; then
436436
clinker="${toolprefix}cc"
437437
clinker_needs_no_pie=false
438438
cprepro="${toolprefix}cc"
439-
cprepro_options="-arch arm64 -U__GNUC__ -U__clang__ -U__BLOCKS__ '-D__attribute__(x)=' '-D__asm(x)=' '-D_Nullable=' '-D_Nonnull=' '-D__DARWIN_OS_INLINE=static inline' -Wno-\\#warnings -E"
439+
cprepro_options="-arch arm64 -U__GNUC__ -U__clang__ -U__BLOCKS__ '-D__attribute__(x)=' '-D__asm(x)=' '-D_Nullable=' '-D_Nonnull=' '-D__DARWIN_OS_INLINE=static inline' -Wno-\\#warnings -Wno-builtin-macro-redefined -E"
440440
libmath=""
441441
system="macos"
442442
pic_supported=true

0 commit comments

Comments
 (0)