Skip to content

Commit 4d2966c

Browse files
Merge pull request #492 from glaubitz/ppc32-build-fix
build: Also build 32-bit PowerPC Linux with -fpermissive
2 parents de7b207 + 211b089 commit 4d2966c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ set (SOLIB_generated )
127127

128128

129129
# Avoid error: invalid conversion from 'int' to '__ptrace_request' on PowerPC
130-
if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_TARGET_ARCHITECTURES MATCHES "ppc64")
130+
if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_TARGET_ARCHITECTURES MATCHES "ppc*")
131131
add_compile_options(-fpermissive)
132132
endif()
133133

0 commit comments

Comments
 (0)