diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2009-09-16 14:49:32 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2009-09-16 14:49:32 +0000 |
commit | e35f41e161aaa25ca180b1966a0f465a99a1903a (patch) | |
tree | b784e0afa59939e9487b49b58b23595e92ac12a3 /soltools | |
parent | 6e7fc38aa58ccca15c2bc136c71d3baec70c8144 (diff) |
CWS-TOOLING: integrate CWS cloph13
2009-09-01 #i104566# also use syslibroot/isysroot for external components
2009-08-28 #i104568# clean up duplicated definitions of OBJCXXFLAGS
2009-08-28 #i104567# add ccache-detection to configure (to skip to objcxx-flags)
2009-08-28 #i104566# use Mac OS X 10.4-SDK to ensure backwards compatibility
use MACOSX_DEPLOYMENT_TARGET and sysroot/syslibroot switches
ignore "-isysroot /Developer/..." arguments for OOo's cpp
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/cpp/_getopt.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/soltools/cpp/_getopt.c b/soltools/cpp/_getopt.c index 5217c21ce0f0..589638936efb 100644 --- a/soltools/cpp/_getopt.c +++ b/soltools/cpp/_getopt.c @@ -21,12 +21,16 @@ int if (optind >= argc || argv[optind][0] != '-' || argv[optind][1] == '\0') return -1; - else - if (strcmp(argv[optind], "--") == 0) + else if (strcmp(argv[optind], "--") == 0) { optind++; return -1; } + else if (strcmp(argv[optind], "-isysroot") == 0) + { + // skip Mac OS X SDK selection flags + optind++; optind++; + } } optopt = c = argv[optind][sp]; if (c == ':' || (cp = strchr(opts, c)) == 0) |