mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
19 lines
391 B
Diff
19 lines
391 B
Diff
--- SConstruct.orig 2020-06-13 17:42:45.000000000 +0800
|
|
+++ SConstruct 2022-06-01 18:56:53.000000000 +0800
|
|
@@ -686,6 +686,15 @@
|
|
else:
|
|
conf.env.Append(CCFLAGS=['-fPIC'])
|
|
|
|
+# Universal binaries support
|
|
+conf.env.Append(CCFLAGS=[
|
|
+ '-arch', '@ARCH@'
|
|
+])
|
|
+
|
|
+conf.env.Append(LINKFLAGS=[
|
|
+ '-arch', '@ARCH@'
|
|
+])
|
|
+
|
|
# check _mm_crc32_u64 (SSE4.2) support:
|
|
conf.check_mm_crc32_u64()
|
|
|