Skip to content

Commit

Permalink
UASTC HDR merge
Browse files Browse the repository at this point in the history
  • Loading branch information
richgel999 committed Sep 10, 2024
1 parent fb721b9 commit d17a1b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion contrib/single_file_transcoder/create_transcoder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -39,3 +39,5 @@ else
fi
echo "Running simple.cpp: PASSED"
fi


2 changes: 1 addition & 1 deletion contrib/single_file_transcoder/examples/simple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d17a1b4

Please sign in to comment.