fix: dial back optimization to -O2 and disable VRP pass to bypass internal compiler error on ARM
This commit is contained in:
@ -294,7 +294,8 @@ echo "Cleaning old objects..."
|
||||
sudo -u "$REAL_USER" make clean
|
||||
|
||||
echo "Starting compilation (Forcing C++11 for Symbol Compatibility)..."
|
||||
GLOBAL_FLAGS="-Wno-error -Wno-reorder -Wno-sign-compare -Wno-delete-non-virtual-dtor -std=c++11"
|
||||
# Use -O2 and -fno-tree-vrp to prevent Internal Compiler Errors (ICE) on ARM
|
||||
GLOBAL_FLAGS="-Wno-error -Wno-reorder -Wno-sign-compare -Wno-delete-non-virtual-dtor -std=c++11 -O2 -fno-tree-vrp"
|
||||
sudo -u "$REAL_USER" make -j1 PLATFORM_CFLAGS="$GLOBAL_FLAGS" USER_CFLAGS="$GLOBAL_FLAGS" USER_CPPFLAGS="-std=c++11"
|
||||
cp bin/example_basic /usr/local/bin/ofxPiMapper
|
||||
chmod +x /usr/local/bin/ofxPiMapper
|
||||
|
||||
Reference in New Issue
Block a user