Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
2930180079 | |||
f60f251445 |
@@ -1,9 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in "$@"; do
|
||||
sed -e 's|mingw-w64-gcc||' \
|
||||
-e '/mingw32-strip/d' \
|
||||
-e '/depends/i CFLAGS+=" -Wno-error=incompatible-pointer-types -fPIC"' \
|
||||
sed -e '/depends/i CFLAGS+=" -Wno-error=incompatible-pointer-types -fPIC"' \
|
||||
-i "$i"/PKGBUILD
|
||||
for arg in "$@"
|
||||
do
|
||||
|
@@ -4,8 +4,7 @@ if [ "$#" -eq 0 ]; then
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -e 's|mingw-w64-gcc||' \
|
||||
-e 's|-ffat-lto-objects|-ffat-lto-objects -fPIC|' \
|
||||
sed -e 's|-ffat-lto-objects|-ffat-lto-objects -fPIC|' \
|
||||
-i $arg/PKGBUILD
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user