diff options
author | prspkt <prspkt@protonmail.com> | 2019-11-03 23:22:04 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-03 18:33:34 -0300 |
commit | 7ffb9c86bb3d9779b75b0813bcecfce0e5b7eabe (patch) | |
tree | 05ab382ccfe53b66d56162eef6116ec89d37d5fc /testing/ponyc/makefile-remove-march-mtune.patch | |
parent | 34b781e0c29bc98f206a170d6e2ac3fb707975e4 (diff) |
testing/ponyc: upgrade to 0.33.0
Add static subpackage and rework failing march/mtune patch.
New version defaults to statically linking against llvm-libs. Use
`link=llvm-dynamic` to revert.
Diffstat (limited to 'testing/ponyc/makefile-remove-march-mtune.patch')
-rw-r--r-- | testing/ponyc/makefile-remove-march-mtune.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/ponyc/makefile-remove-march-mtune.patch b/testing/ponyc/makefile-remove-march-mtune.patch index 3bee239b16d..2b81fb00a4f 100644 --- a/testing/ponyc/makefile-remove-march-mtune.patch +++ b/testing/ponyc/makefile-remove-march-mtune.patch @@ -25,7 +25,7 @@ index 50f4936..8f28e1a 100644 # Determine pointer size in bits. BITS := $(bits) -@@ -135,11 +135,6 @@ ifeq ($(BITS),64) +@@ -147,11 +147,6 @@ endif endif @@ -34,6 +34,6 @@ index 50f4936..8f28e1a 100644 - LINKER_FLAGS += -mfpu=$(fpu) -endif - - PONY_BUILD_DIR ?= build/$(config) - PONY_SOURCE_DIR ?= src - PONY_TEST_DIR ?= test + ifdef link + ifeq (,$(filter $(link),static llvm-static llvm-dynamic)) + $(error Unknown linking strategy "$(link)") |