Skip to content

Commit 3157cfa

Browse files
committed
Merge branch 'PHP-8.4'
2 parents 00837b2 + 1b29fea commit 3157cfa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/cmake/Requirements.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ if(
9090
PURPOSE "Necessary to generate PHP parser files."
9191
)
9292
# Add Bison options based on the build type.
93-
set(PHP_DEFAULT_BISON_FLAGS "$<IF:$<CONFIG:Release,MinSizeRel>,-l$<SEMICOLON>-Wall,-Wall>")
94-
# Nicer way would be this, but GNU Bison errors out because it cannot process
95-
# empty double quoted arguments in the command-line.
93+
set(PHP_DEFAULT_BISON_FLAGS "$<IF:$<CONFIG:Release,MinSizeRel>,-lWall,-Wall>")
94+
# Nicer way would be the one below, but GNU Bison errors out because it cannot
95+
# process empty double quoted arguments in the command-line.
9696
# See: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9921
9797
#set(PHP_DEFAULT_BISON_FLAGS "-Wall $<$<CONFIG:Release,MinSizeRel>:-l>")
9898
endif()

0 commit comments

Comments
 (0)