Skip to content

Commit feafb71

Browse files
committed
Overwrite Lua compilation flags (clang does not like -march=native on Apple M1)
1 parent db6b36c commit feafb71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

QLColorCode.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
};
195195
26BAC9BC257CE93200486D28 /* lua */ = {
196196
isa = PBXLegacyTarget;
197-
buildArgumentsString = "-j9 $(ACTION) MYCFLAGS=-std=c99 MYLDFLAGS= MYLIBS=-ldl";
197+
buildArgumentsString = "-j9 $(ACTION) CFLAGS=\"-Wall -O2 -std=c99 -fno-stack-protector -fno-common\" MYLDFLAGS= MYLIBS=-ldl";
198198
buildConfigurationList = 26BAC9BD257CE93200486D28 /* Build configuration list for PBXLegacyTarget "lua" */;
199199
buildPhases = (
200200
);

0 commit comments

Comments
 (0)