We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8570cc4 commit ec26d79Copy full SHA for ec26d79
cmake/DaemonFlags.cmake
@@ -208,9 +208,11 @@ else()
208
if (USE_RECOMMENDED_C_STANDARD)
209
# GNU89 or later standard is required when building gzip or the compiler
210
# will complain about implicitly defined lseek, read, write and close.
211
- try_c_flag(GNU89 "-std=gnu89")
212
- if (NOT FLAG_GNU89)
213
- message(FATAL_ERROR "GNU89 or C99 not supported by compiler")
+ # GNU99 or later standard is required when building lua or lua will
+ # complain that the compiler doesn't support 'long long'.
+ try_c_flag(GNU99 "-std=gnu99")
214
+ if (NOT FLAG_GNU99)
215
+ message(FATAL_ERROR "GNU99 or C99 not supported by compiler")
216
endif()
217
218
0 commit comments