mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
emulators/wine-proton: Fix build with GCC 14
Disable warnings about incompatible integer to pointer and pointer to integer conversions, which are treated as errors. This is a lighter version of adding the -fpermissive flag, which has been used to fix other ports failing build with GCC 14. PR: 284488 Approved by: maintainer (Alex S <iwtcex@gmail.com>)
This commit is contained in:
parent
8b365d28b3
commit
84c1cefbbf
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ CONFIGURE_ARGS= --verbose \
|
||||||
|
|
||||||
CONFIGURE_ENV= CPPBIN="false" CPPFLAGS="" FLEX="${LOCALBASE}/bin/flex" JXRLIB_CFLAGS="-I${LOCALBASE}/include/jxrlib"
|
CONFIGURE_ENV= CPPBIN="false" CPPFLAGS="" FLEX="${LOCALBASE}/bin/flex" JXRLIB_CFLAGS="-I${LOCALBASE}/include/jxrlib"
|
||||||
|
|
||||||
CFLAGS+= -D__NR_futex="-1" -Werror=implicit-function-declaration
|
CFLAGS+= -D__NR_futex="-1" -Werror=implicit-function-declaration -Wno-int-conversion
|
||||||
CFLAGS_i386+= -mpreferred-stack-boundary=4 -mstackrealign
|
CFLAGS_i386+= -mpreferred-stack-boundary=4 -mstackrealign
|
||||||
PIE_UNSAFE= yes
|
PIE_UNSAFE= yes
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue