summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-05-24 02:18:40 +0200
committerDiego Biurrun <diego@biurrun.de>2016-05-29 16:43:11 +0200
commit535a742c2695a9e0c586b50d7fa76e318232ff24 (patch)
tree8358ee5075109fc8725e072dbf82e06774013b51 /Makefile
parent5b1b495c8d21600eac694d50f428654a3125e217 (diff)
downloadffmpeg-streaming-535a742c2695a9e0c586b50d7fa76e318232ff24.zip
ffmpeg-streaming-535a742c2695a9e0c586b50d7fa76e318232ff24.tar.gz
build: Change structure of the linker version script templates
Split version files into one line per symbol/directive to allow compatibility with the Solaris linker without preprocessing and eliminate $ from version file templates to simplify the postprocessing shell command.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8e0cfce..d90d9be 100644
--- a/Makefile
+++ b/Makefile
@@ -63,9 +63,7 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
$(Q)echo '#include "$*.h"' >$@
%.ver: %.v
- $(M)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ | sed -e 's/:/:\
-/' -e 's/; /;\
-/g' > $@
+ $(M)sed 's/MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@
%.c %.h %.ver: TAG = GEN
OpenPOWER on IntegriCloud