summaryrefslogtreecommitdiff
path: root/extra/flac/flac-1.3.4-no-mstackrealign-for-nasm.patch
blob: fc651c7793938a11d1cd53a8210467d482376229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -rauN flac-1.3.4/CMakeLists.txt flac-1.3.4-no-mstackrealign-for-nasm-patch/CMakeLists.txt
--- flac-1.3.4/CMakeLists.txt	2022-02-14 06:21:14.011609811 +0100
+++ flac-1.3.4-no-mstackrealign-for-nasm-patch/CMakeLists.txt	2022-03-10 09:54:48.719704370 +0100
@@ -97,7 +97,7 @@
 endif()
 
 if(CMAKE_SYSTEM_PROCESSOR STREQUAL "i686" AND HAVE_STACKREALIGN_FLAG)
-    add_compile_options(-mstackrealign)
+    add_compile_options($<$<COMPILE_LANGUAGE:C>:-mstackrealign>)
 endif()
 
 include_directories("include")