shithub: mp3dec

Download patch

ref: 128614f9cd4f97645b9275404a331f1d1fc3db42
parent: adc83a6112b860060f9148526f2747c4cf088966
author: lieff <lieff@users.noreply.github.com>
date: Wed Jun 5 15:01:02 EDT 2019

add -U_FORTIFY_SOURCE to get rid of __memcpy_chk

--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -6,7 +6,7 @@
 
 set -e
 
-CFLAGS="-O2 -std=c89 -Wall -Wextra -Wmissing-prototypes -Werror -fno-asynchronous-unwind-tables -fno-stack-protector \
+CFLAGS="-O2 -std=c89 -Wall -Wextra -Wmissing-prototypes -Werror -fno-asynchronous-unwind-tables -fno-stack-protector -U_FORTIFY_SOURCE \
 -ffunction-sections -fdata-sections -Wl,--gc-sections"
 
 echo testing mp4 mode...