Skip to content

Commit 71a7391

Browse files
committed
Fix the Linux 32-bit toolchain to append to the flags, not override
PiperOrigin-RevId: 291808636
1 parent bf646fc commit 71a7391

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/toolchains/linux_32.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Toolchain file for building 32-bit Linux libraries
22

3-
set(CMAKE_C_FLAGS -m32)
4-
set(CMAKE_CXX_FLAGS -m32)
3+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32")
4+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
55
set(CMAKE_LIBRARY_PATH "/usr/lib/i386-linux-gnu")

0 commit comments

Comments
 (0)