mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
zulucrypt: remove -O3
This commit is contained in:
parent
9834775306
commit
d342ec4680
1 changed files with 26 additions and 0 deletions
26
srcpkgs/zulucrypt/patches/fix-cflags.patch
Normal file
26
srcpkgs/zulucrypt/patches/fix-cflags.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
Index: external_libraries/tcplay/CMakeLists.txt
|
||||
===================================================================
|
||||
--- external_libraries/tcplay/CMakeLists.txt.orig
|
||||
+++ external_libraries/tcplay/CMakeLists.txt
|
||||
@@ -13,7 +13,7 @@ set (SRCS_LINUX crypto-gcrypt.c)
|
||||
set (CFLAGS_LINUX "-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE")
|
||||
set (CFLAGS_WARN "-w")
|
||||
set (CFLAGS_DEBUG "-O0 -g3 -DDEBUG")
|
||||
-set (CFLAGS_OPT "-O3")
|
||||
+set (CFLAGS_OPT "")
|
||||
set (CFLAGS_VER "-DMAJ_VER=${VERSION_MAJOR} -DMIN_VER=${VERSION_MINOR}")
|
||||
set (CFLAGS_COMMON "-std=c99 -fPIC ${CFLAGS_LINUX} ${CFLAGS_WARN} ${CFLAGS_VER}")
|
||||
if ($ENV{DEBUG})
|
||||
Index: external_libraries/tcplay/Makefile.classic
|
||||
===================================================================
|
||||
--- external_libraries/tcplay/Makefile.classic.orig
|
||||
+++ external_libraries/tcplay/Makefile.classic
|
||||
@@ -47,8 +47,6 @@ COMMON_CFLAGS= $(WARNFLAGS) -fPIC $(VER_
|
||||
|
||||
ifeq ($(DEBUG), yes)
|
||||
COMMON_CFLAGS+= -O0 -g -DDEBUG
|
||||
-else
|
||||
- COMMON_CFLAGS+= -O3
|
||||
endif
|
||||
|
||||
ifeq (${SYSTEM}, linux)
|
Loading…
Add table
Reference in a new issue