mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 04:13:08 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue