aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorUneven Prankster <unevenprankster@protonmail.com>2023-08-20 21:09:28 -0300
committerUneven Prankster <unevenprankster@protonmail.com>2023-08-20 21:09:28 -0300
commit96333999adae6654644e2dbe1bf9ac70e9dc48bb (patch)
tree41f1e1b7efe2bae64253564563d1a352f316da80 /build.sh
parentb6c31751ced6b28c70f884406135846cb97af566 (diff)
Update pl_mpeg.h and proper link to xinput. Thanks debug mode!
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 4c444f1..3ceb991 100644
--- a/build.sh
+++ b/build.sh
@@ -80,7 +80,7 @@ COMPILATION_FLAGS="-std=gnu99 -Os -flto -s -D__USE_MINGW_ANSI_STDIO=0 -mno-stack
-fno-asynchronous-unwind-tables -fwhole-program -Wl,--gc-sections -mavx"
FINAL_FLAGS=$COMPILATION_FLAGS
WARNING_FLAGS="-Wall -Wextra"
-LINK_FLAGS="-lopengl32 -lgdi32 -lwinmm"
+LINK_FLAGS="-lopengl32 -lgdi32 -lwinmm -lxinput1_4"
# Debug changes to flags
if [ -n "$BUILD_DEBUG" ]; then
COMPILATION_FLAGS="-std=gnu99 -O0 -g3"