Skip to content

Commit

Permalink
Use -std=c99 when compiling (java-native-access#151)
Browse files Browse the repository at this point in the history
Motivation:

We need to use -std=c99 to be able to define the int as part of the for loop.

Modification:

Add -std=c99

Result:

Compiles again
  • Loading branch information
normanmaurer authored Jan 25, 2021
1 parent 697d64c commit a005081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<quicheBranch>master</quicheBranch>
<quicheCommitSha>5403e54c40caf70f096a2a08c50c9d71c149da6f</quicheCommitSha>
<generatedSourcesDir>${project.build.directory}/generated-sources</generatedSourcesDir>
<cflags>-Werror -fno-omit-frame-pointer -fvisibility=hidden -Wunused -Wno-unused-value -O3 -I${quicheCheckoutDir}/include -I${boringsslSourceDir}/include</cflags>
<cflags>-std=c99 -Werror -fno-omit-frame-pointer -fvisibility=hidden -Wunused -Wno-unused-value -O3 -I${quicheCheckoutDir}/include -I${boringsslSourceDir}/include</cflags>
<ldflags>-L${quicheBuildDir} -lquiche -L${boringsslHome}/ssl -L${boringsslHome}/crypto -L${boringsslHome}/decrepit -ldecrepit -lssl -lcrypto</ldflags>
<extraLdflags />
<extraConfigureArg />
Expand Down

0 comments on commit a005081

Please sign in to comment.