mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[CDFS] Use GNU89 standard when using CLang
This commit is contained in:
committed by
Jérôme Gardou
parent
2c4c25e468
commit
cab3e62f0e
@@ -38,3 +38,9 @@ target_link_libraries(cdfs ${PSEH_LIB} memcmp)
|
||||
add_importlibs(cdfs ntoskrnl hal)
|
||||
add_cd_file(TARGET cdfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||
add_registry_inf(cdfs_reg.inf)
|
||||
|
||||
if (CLANG AND GCC)
|
||||
# Make __inline work as expected
|
||||
target_compile_options(cdfs PRIVATE -std=gnu89)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user