mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-11 17:53:09 +00:00
Commit af18f1dac0
("scripts: start_build: create libpthread and
librt as well") added helper libs so that packages that try to find
these libs can do so.
%ci:no-build
26 lines
512 B
Diff
26 lines
512 B
Diff
--- a/GNUmakefile
|
|
+++ b/GNUmakefile
|
|
@@ -41,8 +41,8 @@
|
|
|
|
DEFINE=-D_REENTRANT
|
|
|
|
-CFLAGS=-pipe $(WARN) $(DEFINE) $(OPT_REG)
|
|
-CFLAGS_OPT=-pipe $(WARN) $(DEFINE) $(OPT_PLUS)
|
|
+CFLAGS+=-pipe $(WARN) $(DEFINE)
|
|
+CFLAGS_OPT=$(CFLAGS)
|
|
|
|
#CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall
|
|
|
|
@@ -68,9 +68,9 @@
|
|
endif
|
|
gcc_path = $(foreach dir,$(path),$(wildcard $(dir)/gcc))
|
|
ifeq ($(strip $(gcc_path)),)
|
|
-CC=clang
|
|
+CC?=clang
|
|
else
|
|
-CC=gcc
|
|
+CC?=gcc
|
|
endif
|
|
|
|
ifneq ($(DIET),)
|