summaryrefslogtreecommitdiff
path: root/gcc/config/alpha/netbsd.h
diff options
context:
space:
mode:
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} \