mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 00:23:52 +00:00
UASTC HDR merge
This commit is contained in:
@@ -22,7 +22,7 @@ which cc > /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "(Skipping compile test)"
|
||||
else
|
||||
cc -lm -std=c++11 -lstdc++ -Wall -Wextra -Werror -Os -g0 -fno-exceptions -fno-rtti -o $OUT_FILE examples/simple.cpp
|
||||
cc -std=c++11 -Wall -Wextra -Wno-unused-value -Os -g0 -fno-exceptions -fno-rtti -fno-strict-aliasing -o $OUT_FILE examples/simple.cpp -lstdc++ -lm
|
||||
# Did compilation work?
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Compiling simple.cpp: FAILED"
|
||||
@@ -39,3 +39,5 @@ else
|
||||
fi
|
||||
echo "Running simple.cpp: PASSED"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* \n
|
||||
* Compile using:
|
||||
* \code
|
||||
* cc -std=c++11 -lstdc++ simple.cpp
|
||||
* cc -std=c++11 -lstdc++ -fno-strict-aliasing simple.cpp
|
||||
* \endcode
|
||||
*
|
||||
* Example code released under a CC0 license.
|
||||
|
||||
Reference in New Issue
Block a user