From 844ba2e9468a05be6c72d00ccc95736286ff684b Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Tue, 6 Dec 2022 18:10:36 -0600 Subject: Add the permissive flag to non-debug builds --- Makefile.shared | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.shared b/Makefile.shared index 2ed32f4..538dc74 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -68,6 +68,6 @@ ifeq ($(DEBUG), true) CFLAGS += -g -shared -Wall -Werror -fPIC LDFLAGS += #-shared #The -shared flags seemes to break the binary whever there's a windows update. else - CFLAGS += -static -O3 + CFLAGS += -static -O3 -fpermissive LDFLAGS += -static endif -- cgit v1.2.3-70-g09d2