mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-26 22:50:48 +00:00
Speedup tcc builds by not using -g ##build
This commit is contained in:
parent
8ddbc2c55a
commit
aa536ce554
@ -12,7 +12,7 @@ CFLAGS+=-I../../include
|
|||||||
|
|
||||||
CFLAGS+=-fstrict-aliasing
|
CFLAGS+=-fstrict-aliasing
|
||||||
CFLAGS+=-I../../libr/include
|
CFLAGS+=-I../../libr/include
|
||||||
CFLAGS+=-Wall -g
|
# CFLAGS+=-Wall -g
|
||||||
LDFLAGS+=-shared
|
LDFLAGS+=-shared
|
||||||
ifeq (${OSNAME},darwin)
|
ifeq (${OSNAME},darwin)
|
||||||
SOEXT?=dylib
|
SOEXT?=dylib
|
||||||
|
@ -5,6 +5,5 @@ OBJS=search.o bytepat.o strings.o aes_find.o privkey_find.o sm4_find.o
|
|||||||
OBJS+=regexp.o keyword.o uds.o rabin_karp.o
|
OBJS+=regexp.o keyword.o uds.o rabin_karp.o
|
||||||
# OBJ+=rsakey.o
|
# OBJ+=rsakey.o
|
||||||
R2DEPS=r_util r_crypto
|
R2DEPS=r_util r_crypto
|
||||||
CFLAGS+=-g
|
|
||||||
|
|
||||||
include ../rules.mk
|
include ../rules.mk
|
||||||
|
@ -27,4 +27,5 @@ LDFLAGS_SONAME=-soname
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
CC_LIB=${CC} ${LDFLAGS_LIB} -o ${LIBSO}
|
CC_LIB=${CC} ${LDFLAGS_LIB} -o ${LIBSO}
|
||||||
FLAGS_DEBUG=-g
|
# FLAGS_DEBUG=-g
|
||||||
|
FLAGS_DEBUG=
|
||||||
|
@ -13,7 +13,8 @@ else
|
|||||||
CS_RELEASE=1
|
CS_RELEASE=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CAPSTONE_CFLAGS?=-g
|
# CAPSTONE_CFLAGS?=-g
|
||||||
|
CAPSTONE_CFLAGS=
|
||||||
# CAPSTONE_MAKEFLAGS?=CAPSTONE_ARCHS="arm aarch64"
|
# CAPSTONE_MAKEFLAGS?=CAPSTONE_ARCHS="arm aarch64"
|
||||||
|
|
||||||
GIT?=git
|
GIT?=git
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export CC="tcc"
|
export CC="tcc"
|
||||||
|
export DEBUG=0
|
||||||
exec sys/install.sh --with-compiler=tcc $*
|
exec sys/install.sh --with-compiler=tcc $*
|
||||||
|
Loading…
Reference in New Issue
Block a user