Skip to content

Commit eb4cff5

Browse files
pablorcumcopybara-github
authored andcommitted
PR #1853: Add support for QCC compiler
Imported from GitHub PR #1853 Since QCC (QNX C Compiler) is directly derived from the GNU C Compiler, same flags can be used. Merge cfac630 into 0898cd3 Merging this change closes #1853 COPYBARA_INTEGRATE_REVIEW=#1853 from pablorcum:master cfac630 PiperOrigin-RevId: 736152861 Change-Id: I249b74faeeb51aac6508173b4be25e2fd7766986
1 parent 0898cd3 commit eb4cff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

absl/copts/AbseilConfigureCopts.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ else()
7171
endif()
7272

7373

74-
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
74+
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "QCC")
7575
set(ABSL_DEFAULT_COPTS "${ABSL_GCC_FLAGS}")
7676
set(ABSL_TEST_COPTS "${ABSL_GCC_TEST_FLAGS}")
7777
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") # MATCHES so we get both Clang and AppleClang

0 commit comments

Comments
 (0)