diff options
Diffstat (limited to 'build-pkg.sh')
| -rw-r--r-- | build-pkg.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build-pkg.sh b/build-pkg.sh index 211c1a0..8b43a5d 100644 --- a/build-pkg.sh +++ b/build-pkg.sh @@ -7,7 +7,8 @@ export PKG_CONFIG_SYSROOT_DIR="$sysroot_path" export PKG_CONFIG_PATH="$sysroot_path/usr/lib/pkgconfig:$sysroot_path/usr/share/pkgconfig:$sysroot_path/usr/local/lib/pkgconfig:$sysroot_path/usr/local/share/pkgconfig:$HOME/opt/cross/orange/lib/pkgconfig:$HOME/opt/cross/orange/share/pkgconfig" INITRDDIR=""$(realpath initrd)"" -export CFLAGS="-fPIC -Wno-error -O2 -Wno-incompatible-pointer-types" +export CFLAGS="-fPIC -Wno-error -O0 -Wno-incompatible-pointer-types -fno-omit-frame-pointer -ggdb3 -fno-inline-functions-called-once -fno-optimize-sibling-calls -fno-omit-frame-pointer" +export CXXFLAGS="$CFLAGS" cd tools/pkg/$1 sh pkg.sh "$INITRDDIR" |
