2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2024-12-25 14:15:31 +03:00

Fix stub plugin (Closes #43)

This commit is contained in:
s1lentq 2023-11-28 18:23:17 +07:00
parent 0c99300d8d
commit 24e086ae2f

View File

@ -7,7 +7,7 @@ COMPILER = g++
OBJECTS = *.cpp
LINK =
LINK = -ldl
OPT_FLAGS = -O3 -msse3 -flto -funroll-loops -fomit-frame-pointer -fno-stack-protector -fPIC
@ -15,9 +15,9 @@ INCLUDE = -I. -I$(HLSDK)/common -I$(HLSDK)/dlls -I$(HLSDK)/engine \
-I$(HLSDK)/game_shared -I$(HLSDK)/pm_shared -I$(HLSDK)/public -I$(METAMOD)
BIN_DIR = Release
CFLAGS = $(OPT_FLAGS)
CFLAGS = $(OPT_FLAGS) -Wno-unused-result
CFLAGS += -g -DNDEBUG -Dlinux -D__linux__ -D__USE_GNU -std=gnu++11 -shared
CFLAGS += -g -DNDEBUG -Dlinux -D__linux__ -D__USE_GNU -std=gnu++11 -shared -m32
OBJ_LINUX := $(OBJECTS:%.c=$(BIN_DIR)/%.o)