Skip to content

Commit a31c8c3

Browse files
llfwkevans91
authored andcommitted
external/libecc: Remove -ffreestanding
This causes issues when FreeBSD cross-builds pkg for a different architecture (e.g., building for powerpc64 from amd64) using a non-default sysroot: --- ec_params.pico --- In file included from /build/obj/bsd/src/bsd/dev/powerpc.powerpc64/tmp/usr/include/inttypes.h:33: /build/obj/bsd/src/bsd/dev/powerpc.powerpc64/tmp/usr/include/sys/stdint.h:48:24: error: typedef redefinition with different types ('__int_fast8_t' (aka 'int') vs 'int8_t' (aka 'signed char' )) 48 | typedef __int_fast8_t int_fast8_t; | ^ /pkg/llvm19/lib/clang/19/include/stdint.h:280:24: note: previous definition is here 280 | typedef __int_least8_t int_fast8_t; | ^
1 parent b95a241 commit a31c8c3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

external/libecc/Makefile.autosetup

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ CONFLICTS= -Dsha256_init=_libecc_sha256_init \
138138
LOCAL_CFLAGS= -I$(top_srcdir)/external/libecc/include \
139139
-I$(top_srcdir)/compat \
140140
-I$(top_builddir)/ \
141-
-ffreestanding \
142141
-fno-builtin \
143142
-fstack-protector-strong \
144143
-DUSE_WARN_UNUSED_RET \

0 commit comments

Comments
 (0)