summaryrefslogtreecommitdiff
path: root/gcc/config/alpha/netbsd.h
diff options
context:
space:
mode:
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-03 19:20:21 +0000
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-03 19:20:21 +0000
commit6d1fe069d54422cb50ec9e11f97cf8a99450b730 (patch)
treebbf5c7c7409193abec70d19093ae279d7deb88ff /gcc/config/alpha/netbsd.h
parent1693b6e0a1316a165558e8a6c3156f483b7ec6fb (diff)
downloadgcc-6d1fe069d54422cb50ec9e11f97cf8a99450b730.tar.gz
* config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
(LINK_SPEC): Undef before defining. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53113 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/alpha/netbsd.h')
-rw-r--r--gcc/config/alpha/netbsd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/alpha/netbsd.h b/gcc/config/alpha/netbsd.h
index 5ffc2715605..508b71cdf55 100644
--- a/gcc/config/alpha/netbsd.h
+++ b/gcc/config/alpha/netbsd.h
@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES \
- "-D__NetBSD__ -Asystem=unix -Asystem=NetBSD"
+ "-D__NetBSD__ -D_LP64 -Asystem=unix -Asystem=NetBSD"
/* Show that we need a GP when profiling. */
@@ -46,6 +46,7 @@ Boston, MA 02111-1307, USA. */
This is a copy of LINK_SPEC from <netbsd-elf.h> tweaked for
the alpha target. */
+#undef LINK_SPEC
#define LINK_SPEC \
"%{G*} %{relax:-relax} \
%{O*:-O3} %{!O*:-O1} \