Skip to content

Commit c78b396

Browse files
committed
set Wno-error at top level
1 parent 530bd2c commit c78b396

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scripts/amule-dlp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ patch -p1 <../../patches/amule-fix-dlp.patch
1919
patch -p1 <../../patches/amule-fix-boost_llvm.patch
2020

2121
./autogen.sh
22-
./configure CPPFLAGS="$CPPFLAGS -Wno-error=register -D_UNICODE=1 -DUNICODE=1" \
22+
./configure CPPFLAGS="$CPPFLAGS -D_UNICODE=1 -DUNICODE=1" \
2323
LDFLAGS="$LDFLAGS -lintl -pthread" \
2424
CXXFLAGS="$CXXFLAGS -DCURL_STATICLIB -pthread" CFLAGS="$CFLAGS -DCURL_STATICLIB -pthread" \
2525
--prefix=$BUILDDIR/amule-dlp --host=$TARGET \

scripts/amule.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ patch -p1 <../../patches/amule-fix-boost_llvm.patch
1818
patch -p1 <../../patches/0001-Apply-the-patch-for-wx-3.2-support-customized-by-deb.patch
1919

2020
./autogen.sh
21-
./configure CPPFLAGS="$CPPFLAGS -Wno-error=register -D_UNICODE=1 -DUNICODE=1" \
21+
./configure CPPFLAGS="$CPPFLAGS -D_UNICODE=1 -DUNICODE=1" \
2222
LDFLAGS="$LDFLAGS -lintl -pthread" \
2323
CXXFLAGS="$CXXFLAGS -DCURL_STATICLIB -pthread" CFLAGS="$CFLAGS -DCURL_STATICLIB -pthread" \
2424
--prefix=$BUILDDIR/amule --host=$TARGET \

scripts/build-all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export PKG_CONFIG_PATH=$PKG_CONFIG_LIBDIR
5555
export PKG_CONFIG_SYSROOT_DIR=$BUILDDIR
5656
export CXXFLAGS="-g0 -O2"
5757
export CFLAGS="-g0 -O2"
58-
export CPPFLAGS="-I$BUILDDIR/libiconv/include -I$BUILDDIR/zlib/include -I$BUILDDIR/libpng/include -I$BUILDDIR/gettext/include -Wno-error=incompatible-pointer-types"
58+
export CPPFLAGS="-I$BUILDDIR/libiconv/include -I$BUILDDIR/zlib/include -I$BUILDDIR/libpng/include -I$BUILDDIR/gettext/include -Wno-error=register -Wno-error=incompatible-pointer-types"
5959
export LDFLAGS="-L$BUILDDIR/libiconv/lib -L$BUILDDIR/zlib/lib -L$BUILDDIR/libpng/lib -L$BUILDDIR/gettext/lib -s --static"
6060

6161
mkdir -p amule

0 commit comments

Comments
 (0)