Skip to content

Commit

Permalink
Set c99 standard for pcre2 sources
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk committed Apr 11, 2023
1 parent 7911493 commit cc57e47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/hx/libs/regexp/pcre2_sources.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<compilerflag value="-DPCRE2_STATIC" />
<compilerflag value="-DSUPPORT_UNICODE" />
<compilerflag value="-I${PCRE_DIR}" />
<compilerflag value="-std=c99" />

<file name="${PCRE_DIR}/pcre2_auto_possess.c" />
<file name="${PCRE_DIR}/pcre2_chartables.c" />
Expand Down
1 change: 0 additions & 1 deletion toolchain/linux-toolchain.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
<flag value="-fvisibility=hidden"/>
<cppflag value="-frtti"/>
<cppflag value="-std=c++11" if="HXCPP_CPP11" />
<cflag value="-std=gnu99" unless="HXCPP_NO_GNU99" />
<flag value="-g" if="debug"/>
<flag value="-O2" unless="debug"/>
<flag value="-fpic"/>
Expand Down

0 comments on commit cc57e47

Please sign in to comment.