aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-07-08 17:28:48 -0700
committerChris Robinson <[email protected]>2022-07-08 17:28:48 -0700
commitfa51c89549590319cb545a8c81419e2e1ddc5db3 (patch)
treeb935c2a14138271a6296a06f6ed1acd11d86a6ba /CMakeLists.txt
parent1ad553b5a913e11c712eb95b7ecc7cbc66f4a274 (diff)
Fix building on some MinGW systems
Some systems don't like having a space in the export declaration, with windres interpreting the extra attributes as input files. GCC seems to accept the attributes being "packed" together, which avoids the problem with windres.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1984ac97..0d1690a8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -472,7 +472,7 @@ if(CMAKE_SIZEOF_VOID_P MATCHES "4" AND HAVE_SSE2)
# assumes the stack is suitably aligned. Older Linux code or other
# OSs don't guarantee this on 32-bit, so externally-callable
# functions need to ensure an aligned stack.
- set(EXPORT_DECL "${EXPORT_DECL} __attribute__((force_align_arg_pointer))")
+ set(EXPORT_DECL "${EXPORT_DECL}__attribute__((force_align_arg_pointer))")
endif()
endif()
endif()