diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2024-09-18 17:46:32 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2024-09-20 16:20:50 +0100 |
commit | 33ccc1314dcdb0b988a9276ca6b6ce9b07bea21e (patch) | |
tree | aac0f4fd00b047ab4417fd24b8411af6af6d8bd9 /gcc | |
parent | cbe1b1c6c7408b20aa899c5e9c607c706cee8ca0 (diff) | |
download | gcc-33ccc1314dcdb0b988a9276ca6b6ce9b07bea21e.zip gcc-33ccc1314dcdb0b988a9276ca6b6ce9b07bea21e.tar.gz gcc-33ccc1314dcdb0b988a9276ca6b6ce9b07bea21e.tar.bz2 |
Darwin: Allow for as versions that need '-' for std in.
Recent versions of Xcode as require a dash to read from standard
input. We can use this on all supported OS versions so make it
unconditional. Patch from Mark Mentovai.
gcc/ChangeLog:
* config/darwin.h (AS_NEEDS_DASH_FOR_PIPED_INPUT): New.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/darwin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 3775990..0d8886c 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -648,6 +648,8 @@ extern GTY(()) int darwin_ms_struct; #define ASM_OPTIONS "%{v} %{w:-W} %{I*}" #endif +#define AS_NEEDS_DASH_FOR_PIPED_INPUT + /* Default Darwin ASM_SPEC, very simple. */ #define ASM_SPEC \ "%{static} -arch %(darwin_arch) " \ |