mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Use private keyword on makefile target variables
This commit is contained in:
parent
e015defa70
commit
7b993d561c
71 changed files with 305 additions and 314 deletions
12
third_party/mbedtls/mbedtls.mk
vendored
12
third_party/mbedtls/mbedtls.mk
vendored
|
@ -49,29 +49,29 @@ $(THIRD_PARTY_MBEDTLS_A).pkg: \
|
|||
$(THIRD_PARTY_MBEDTLS_A_OBJS) \
|
||||
$(foreach x,$(THIRD_PARTY_MBEDTLS_A_DIRECTDEPS),$($(x)_A).pkg)
|
||||
|
||||
$(THIRD_PARTY_MBEDTLS_A_OBJS): \
|
||||
$(THIRD_PARTY_MBEDTLS_A_OBJS): private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-fdata-sections \
|
||||
-ffunction-sections
|
||||
|
||||
o/$(MODE)/third_party/mbedtls/everest.o: \
|
||||
o/$(MODE)/third_party/mbedtls/everest.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-O3
|
||||
|
||||
o/$(MODE)/third_party/mbedtls/bigmul4.o \
|
||||
o/$(MODE)/third_party/mbedtls/bigmul6.o: \
|
||||
o/$(MODE)/third_party/mbedtls/bigmul6.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-O2
|
||||
|
||||
o/$(MODE)/third_party/mbedtls/shiftright-avx.o: \
|
||||
o/$(MODE)/third_party/mbedtls/shiftright-avx.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-O3 -mavx
|
||||
|
||||
o/$(MODE)/third_party/mbedtls/shiftright2-avx.o: \
|
||||
o/$(MODE)/third_party/mbedtls/shiftright2-avx.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-O3 -mavx
|
||||
|
||||
o/$(MODE)/third_party/mbedtls/zeroize.o: \
|
||||
o/$(MODE)/third_party/mbedtls/zeroize.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-O3 \
|
||||
-x-no-pg \
|
||||
|
|
6
third_party/mbedtls/test/test.mk
vendored
6
third_party/mbedtls/test/test.mk
vendored
|
@ -139,11 +139,11 @@ o/$(MODE)/third_party/mbedtls/test/%.com: o/$(MODE)/third_party/mbedtls/test/%.c
|
|||
o/$(MODE)/third_party/mbedtls/test/%.com.runs: o/$(MODE)/third_party/mbedtls/test/%.com
|
||||
@$(COMPILE) -ACHECK -tT$@ $< $(TESTARGS)
|
||||
|
||||
$(THIRD_PARTY_MBEDTLS_TEST_OBJS): \
|
||||
$(THIRD_PARTY_MBEDTLS_TEST_OBJS): private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-DSTACK_FRAME_UNLIMITED
|
||||
|
||||
o/$(MODE)/third_party/mbedtls/test/lib.o: \
|
||||
o/$(MODE)/third_party/mbedtls/test/lib.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-fdata-sections \
|
||||
-ffunction-sections
|
||||
|
@ -1363,4 +1363,4 @@ o/$(MODE)/third_party/mbedtls/test/secp384r1_test.com.dbg: \
|
|||
$(APE_NO_MODIFY_SELF)
|
||||
@$(APELINK)
|
||||
|
||||
o/$(MODE)/third_party/mbedtls/test/test_suite_asn1parse.com.runs: QUOTA = -M512m
|
||||
o/$(MODE)/third_party/mbedtls/test/test_suite_asn1parse.com.runs: private QUOTA = -M512m
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue