diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2022-11-01 20:02:44 +0000 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2022-11-02 18:46:05 +0000 |
commit | 1566127a7f4d4a030bbc49a25bdef45231b3df0e (patch) | |
tree | 417f6474360175855946237b53f0702633f5902e | |
parent | b25c645e890e4dc4380f93fa9065654ad9da7aca (diff) | |
download | toolchains-1566127a7f4d4a030bbc49a25bdef45231b3df0e.tar.gz toolchains-1566127a7f4d4a030bbc49a25bdef45231b3df0e.tar.bz2 |
SDK/arm-unknown-riscos: poke function names
-rw-r--r-- | sdk/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sdk/Makefile b/sdk/Makefile index 9146367..a8dda57 100644 --- a/sdk/Makefile +++ b/sdk/Makefile @@ -77,6 +77,10 @@ pkg_config_libdir__ := $(GCCSDK_INSTALL_ENV)/lib/pkgconfig # Target TARGET := $(shell $(cc__) -dumpmachine) +ifeq ($(findstring -riscos,$(TARGET)),-riscos) + cflags__ := $(cflags__) -mpoke-function-name +endif + # Environment # Newer autotools objects to -I appearing in CFLAGS cleanenv := PATH="$(path__)" CC="$(cc__)" CXX="$(cxx__)" AR="$(ar__)" RANLIB="$(ranlib__)" CPPFLAGS="$(cppflags__)" LDFLAGS="$(ldflags__)" PKG_CONFIG_LIBDIR="$(pkg_config_libdir__)" |