diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-30 17:56:11 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-30 17:56:11 (EDT) |
commit | 29434e8ca76673432fee45c7d9660e1287fb0f3c (patch) | |
tree | 1a3cb8a892b88e5b9cff53e006f7f8dfbd070475 /build | |
parent | 553fe53dea539945b31609f4ac7b98f4695294b2 (diff) |
build, *.pkg.in/control: Get GCC ver from substvars
Diffstat (limited to 'build')
-rwxr-xr-x | build | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ #! /usr/bin/make -f +gcc_base_version = $$(sed 's/^GCC-Base-Version: //i' ../substvars) + build: install: @@ -8,7 +10,7 @@ install: for exe in cpp gcc g++; do \ dir="$${exe}-$${target}.data/usr/bin"; \ mkdir -p "$${dir}"; \ - ln -sf "$${target}-$${exe}-4.7" \ + ln -sf "$${target}-$${exe}-$(gcc_base_version)" \ "$${dir}/$${target}-$${exe}"; \ done; \ done |