File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,10 @@ export LDFLAGS_WASI="--sysroot=${WASI_SYSROOT} -lwasi-emulated-getpid -lwasi-emu
15
15
# ######### Setup the flags for php #############
16
16
export CFLAGS_PHP=' -D_POSIX_SOURCE=1 -D_GNU_SOURCE=1 -DHAVE_FORK=0 -DWASM_WASI'
17
17
18
+ export LDFLAGS_WARNINGS=' -Wno-unused-command-line-argument -Wno-implicit-function-declaration -Wno-incompatible-function-pointer-types'
19
+
18
20
# We need to add LDFLAGS ot CFLAGS because autoconf compiles(+links) to binary when checking stuff
19
- export LDFLAGS=" ${LDFLAGS_WASI} ${LDFLAGS_DEPENDENCIES} "
21
+ export LDFLAGS=" ${LDFLAGS_WASI} ${LDFLAGS_DEPENDENCIES} ${LDFLAGS_WARNINGS} "
20
22
export CFLAGS=" ${CFLAGS_CONFIG} ${CFLAGS_WASI} ${CFLAGS_DEPENDENCIES} ${CFLAGS_PHP} ${LDFLAGS} "
21
23
22
24
cd " ${WLR_SOURCE_PATH} "
Original file line number Diff line number Diff line change @@ -16,8 +16,10 @@ export LDFLAGS_WASI="--sysroot=${WASI_SYSROOT} -lwasi-emulated-getpid -lwasi-emu
16
16
# ######### Setup the flags for php #############
17
17
export CFLAGS_PHP=' -D_POSIX_SOURCE=1 -D_GNU_SOURCE=1 -DHAVE_FORK=0 -DWASM_WASI'
18
18
19
+ export LDFLAGS_WARNINGS=' -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Wno-incompatible-function-pointer-types'
20
+
19
21
# We need to add LDFLAGS ot CFLAGS because autoconf compiles(+links) to binary when checking stuff
20
- export LDFLAGS=" ${LDFLAGS_WASI} ${LDFLAGS_DEPENDENCIES} ${LDFLAGS_SQLITE} "
22
+ export LDFLAGS=" ${LDFLAGS_WASI} ${LDFLAGS_DEPENDENCIES} ${LDFLAGS_SQLITE} ${LDFLAGS_WARNINGS} "
21
23
export CFLAGS=" ${CFLAGS_CONFIG} ${CFLAGS_WASI} ${CFLAGS_DEPENDENCIES} ${CFLAGS_PHP} ${LDFLAGS} "
22
24
23
25
logStatus " CFLAGS=" ${CFLAGS}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export LDFLAGS_WASI="--sysroot=${WASI_SYSROOT} -lwasi-emulated-getpid -lwasi-emu
17
17
# ######### Setup the flags for php #############
18
18
export CFLAGS_PHP=' -D_POSIX_SOURCE=1 -D_GNU_SOURCE=1 -DHAVE_FORK=0 -DPNG_USER_CONFIG -DWASM_WASI'
19
19
20
- export LDFLAGS_WARNINGS=' -Wno-unused-command-line-argument -Werror=implicit-function-declaration'
20
+ export LDFLAGS_WARNINGS=' -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Wno-incompatible-function-pointer-types '
21
21
22
22
# We need to add LDFLAGS ot CFLAGS because autoconf compiles(+links) to binary when checking stuff
23
23
export LDFLAGS=" ${LDFLAGS_WASI} ${LDFLAGS_DEPENDENCIES} ${LDFLAGS_WARNINGS} "
You can’t perform that action at this time.
0 commit comments