diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-12-11 00:52:08 -0600 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-12-11 00:52:08 -0600 |
commit | 2c8204d6325a1a6607392d5905227b9043da17cc (patch) | |
tree | 5a2d9047d0a3fb5664c17284b92c6e572507d062 /chapter7/libstdc++.sh | |
parent | f699702e72de8200632cfb95350ad51bb68c4b6f (diff) |
Major updates.
Diffstat (limited to 'chapter7/libstdc++.sh')
-rw-r--r-- | chapter7/libstdc++.sh | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/chapter7/libstdc++.sh b/chapter7/libstdc++.sh index 1a0b5ee..960f686 100644 --- a/chapter7/libstdc++.sh +++ b/chapter7/libstdc++.sh @@ -1,15 +1,15 @@ -#!/bin/bash -set -e - -ln -s gthr-posix.h libgcc/gthr-default.h && -mkdir 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 \ - --disable-libstdcxx-pch && -make && -make -j1 install +#!/bin/bash
+set -e
+
+ln -s gthr-posix.h libgcc/gthr-default.h &&
+mkdir 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 \
+ --disable-libstdcxx-pch &&
+make &&
+make -j1 install
|