diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-03-30 13:03:52 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-03-30 13:03:52 -0500 |
commit | dc161b4d4f5c37c2e72a953e639641b112fb68a0 (patch) | |
tree | 7effd9c42ca78d47817d48f25d1b5b08bca63f73 /chapter7/libstdc++.sh | |
parent | 661a2ab5a84b70f3075777599b27e19f06b49e8a (diff) |
Add shebangs and cleanup libstdc++.sh
Diffstat (limited to 'chapter7/libstdc++.sh')
-rw-r--r-- | chapter7/libstdc++.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter7/libstdc++.sh b/chapter7/libstdc++.sh index 5e81693..c2ef63b 100644 --- a/chapter7/libstdc++.sh +++ b/chapter7/libstdc++.sh @@ -1,12 +1,14 @@ +#!/bin/bash + ln -s gthr-posix.h libgcc/gthr-default.h mkdir build -cd build +cd build || exit 1 ../libstdc++-v3/configure \ CXXFLAGS="-g -O2 -D_GNU_SOURCE" \ --prefix=/usr \ --disable-multilib \ --disable-nls \ - --host=$(uname -m)-lfs-linux-gnu \ + --host="$(uname -m)"-lfs-linux-gnu \ --disable-libstdcxx-pch && make && make -j1 install |