mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 05:09:43 +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+=-I../../libr/include
|
||||
CFLAGS+=-Wall -g
|
||||
# CFLAGS+=-Wall -g
|
||||
LDFLAGS+=-shared
|
||||
ifeq (${OSNAME},darwin)
|
||||
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
|
||||
# OBJ+=rsakey.o
|
||||
R2DEPS=r_util r_crypto
|
||||
CFLAGS+=-g
|
||||
|
||||
include ../rules.mk
|
||||
|
@ -27,4 +27,5 @@ LDFLAGS_SONAME=-soname
|
||||
endif
|
||||
|
||||
CC_LIB=${CC} ${LDFLAGS_LIB} -o ${LIBSO}
|
||||
FLAGS_DEBUG=-g
|
||||
# FLAGS_DEBUG=-g
|
||||
FLAGS_DEBUG=
|
||||
|
@ -13,7 +13,8 @@ else
|
||||
CS_RELEASE=1
|
||||
endif
|
||||
|
||||
CAPSTONE_CFLAGS?=-g
|
||||
# CAPSTONE_CFLAGS?=-g
|
||||
CAPSTONE_CFLAGS=
|
||||
# CAPSTONE_MAKEFLAGS?=CAPSTONE_ARCHS="arm aarch64"
|
||||
|
||||
GIT?=git
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
export CC="tcc"
|
||||
export DEBUG=0
|
||||
exec sys/install.sh --with-compiler=tcc $*
|
||||
|
Loading…
Reference in New Issue
Block a user