linux : remove debug infos in release mode.

This commit is contained in:
Jean-François DEL NERO
2023-02-06 23:21:21 +01:00
parent 103a611339
commit c3b729e97a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ EXEC=libhxcfe.so
ifeq ($(TARGET), Linux)
CFLAGS += -fPIC -Wl,-Map,foo.map
LDFLAGS += -g -lc -lm -ldl
LDFLAGS += -lc -lm -ldl
endif
ifeq ($(TARGET), mingw32)
@@ -46,7 +46,7 @@ EXEC=libhxcfe.dll
endif
ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
LDFLAGS= -g -shared -lc -lm -ldl
LDFLAGS= -shared -lc -lm -ldl
EXEC=libhxcfe.dll
endif
+1 -1
View File
@@ -27,7 +27,7 @@ EXEC=libusbhxcfe.so
ifeq ($(TARGET), Linux)
CFLAGS += -fPIC -Wl,-Map,foo.map
LDFLAGS += -g -lc -lm -ldl
LDFLAGS += -lc -lm -ldl
endif
ifeq ($(TARGET), mingw32)