summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2022-06-01 19:59:30 +0100
committerJohn-Mark Bell <jmb@netsurf-browser.org>2023-03-05 20:00:09 +0000
commitcb7a97a09c4a6e8932d0ec1ae786d904ab917e29 (patch)
treeb9ad23dbeffce796ed26400272276a787cfd2e90
parentdc90f45614bfe40caf3e3b93aef55a7dfedd3da3 (diff)
downloadtoolchains-cb7a97a09c4a6e8932d0ec1ae786d904ab917e29.tar.gz
toolchains-cb7a97a09c4a6e8932d0ec1ae786d904ab917e29.tar.bz2
Build riscos-ld for armv4
-rw-r--r--arm-riscos-gnueabihf/recipes/patches/gccsdk/ld-armv4.p13
1 files changed, 13 insertions, 0 deletions
diff --git a/arm-riscos-gnueabihf/recipes/patches/gccsdk/ld-armv4.p b/arm-riscos-gnueabihf/recipes/patches/gccsdk/ld-armv4.p
new file mode 100644
index 0000000..ae85eb0
--- /dev/null
+++ b/arm-riscos-gnueabihf/recipes/patches/gccsdk/ld-armv4.p
@@ -0,0 +1,13 @@
+Index: ld/d-link/Makefile.am
+===================================================================
+--- ld/d-link/Makefile.am (revision 7698)
++++ ld/d-link/Makefile.am (working copy)
+@@ -68,7 +68,7 @@
+
+ ld_riscos_eabihf_so_CPPFLAGS = -I$(top_srcdir)/d-link -I$(top_srcdir)/d-link/riscos \
+ -DNO_UNDERSCORE -DVERBOSE_DLINKER -D__TARGET_SOLOADER__
+-ld_riscos_eabihf_so_CFLAGS = -fPIC -O4 -Wall -std=gnu99 -march=armv7-a+fp+neon
++ld_riscos_eabihf_so_CFLAGS = -fPIC -O4 -Wall -std=gnu99 -march=armv4
+ ld_riscos_eabihf_so_LDFLAGS = --shared -Wl,--no-undefined -nostdlib -nostartfiles -Wl,-e -Wl,_dl_start \
+ -Wl,-soname -Wl,ld-riscos/so/2
+