Skip to content

Commit d7f9035

Browse files
authored
Merge pull request #590 from shym/freebsd-stdalign
Fetch `stdalign.h` from system on FreeBSD
2 parents d41a22a + 0babb26 commit d7f9035

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

toolchain/gen-headers.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ if CC=${CONFIG_TARGET_CC} cc_is_clang; then
7272
FreeBSD|OpenBSD)
7373
SRCDIR=/usr/include
7474
SRCS="float.h stddef.h stdint.h stdbool.h stdarg.h"
75-
[ "${CONFIG_HOST}" = "FreeBSD" ] && SRCS="${SRCS} stdatomic.h"
75+
[ "${CONFIG_HOST}" = "FreeBSD" ] && \
76+
SRCS="${SRCS} stdalign.h stdatomic.h"
7677
DEPS="$(mktemp)"
7778
CC=${CONFIG_TARGET_CC} cc_get_header_deps ${SRCDIR} ${SRCS} \
7879
>${DEPS} || \

0 commit comments

Comments
 (0)