mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Add -Wno-unreachable-code to PCRE in Xcode build
Prevents an annoying warning from the PCRE build in Xcode
This commit is contained in:
parent
15921d37c4
commit
227ba10628
@ -1813,7 +1813,7 @@
|
||||
SKIP_INSTALL = YES;
|
||||
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/osx/pcre2 $(SRCROOT)/osx/shared_headers/";
|
||||
USE_HEADERMAP = NO;
|
||||
WARNING_CFLAGS = "";
|
||||
WARNING_CFLAGS = "-Wno-unreachable-code";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
@ -1839,7 +1839,7 @@
|
||||
SKIP_INSTALL = YES;
|
||||
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/osx/pcre2 $(SRCROOT)/osx/shared_headers/";
|
||||
USE_HEADERMAP = NO;
|
||||
WARNING_CFLAGS = "";
|
||||
WARNING_CFLAGS = "-Wno-unreachable-code";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user