summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2004-02-07 02:39:55 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2004-02-07 02:39:55 +0000
commite874f57e3d8d4dbdb63de920f2d8aa073750ae04 (patch)
treebe0b36fb06aea0bb8c44859ee6e4c846b3a2cfd4
parent25573bd5607c857dc9d0d49734066a34b3045df3 (diff)
Copy arm/t-netbsd removing the shared libgcc pieces, suggested by espie
-rw-r--r--gnu/usr.bin/gcc/gcc/config.gcc2
-rw-r--r--gnu/usr.bin/gcc/gcc/config/arm/t-openbsd7
2 files changed, 8 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config.gcc b/gnu/usr.bin/gcc/gcc/config.gcc
index f78b0fed36e..84946c8c590 100644
--- a/gnu/usr.bin/gcc/gcc/config.gcc
+++ b/gnu/usr.bin/gcc/gcc/config.gcc
@@ -704,7 +704,7 @@ arm*-*-netbsdelf*)
;;
arm*-*-openbsd*)
tm_file="dbxelf.h elfos.h arm/openbsd1.h arm/elf.h arm/aout.h arm/arm.h openbsd.h ${tm_file}"
- tmake_file="${tmake_file} arm/t-netbsd"
+ tmake_file="${tmake_file} arm/t-openbsd"
;;
arm*-*-netbsd*)
tm_file="arm/aout.h arm/arm.h netbsd.h netbsd-aout.h arm/netbsd.h"
diff --git a/gnu/usr.bin/gcc/gcc/config/arm/t-openbsd b/gnu/usr.bin/gcc/gcc/config/arm/t-openbsd
new file mode 100644
index 00000000000..ef40825adfd
--- /dev/null
+++ b/gnu/usr.bin/gcc/gcc/config/arm/t-openbsd
@@ -0,0 +1,7 @@
+# Just for these, we omit the frame pointer since it makes such a big
+# difference. It is then pointless adding debugging.
+TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fpic
+LIBGCC2_DEBUG_CFLAGS = -g0
+
+# Don't build enquire
+ENQUIRE=