mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-26 20:40:28 +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
2
third_party/zlib/gz/gz.mk
vendored
2
third_party/zlib/gz/gz.mk
vendored
|
@ -40,7 +40,7 @@ $(THIRD_PARTY_ZLIB_GZ_A).pkg: \
|
|||
$(THIRD_PARTY_ZLIB_GZ_A_OBJS) \
|
||||
$(foreach x,$(THIRD_PARTY_ZLIB_GZ_A_DIRECTDEPS),$($(x)_A).pkg)
|
||||
|
||||
$(THIRD_PARTY_ZLIB_GZ_OBJS): \
|
||||
$(THIRD_PARTY_ZLIB_GZ_OBJS): private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-ffunction-sections \
|
||||
-fdata-sections
|
||||
|
|
6
third_party/zlib/zlib.mk
vendored
6
third_party/zlib/zlib.mk
vendored
|
@ -41,18 +41,18 @@ $(THIRD_PARTY_ZLIB_A).pkg: \
|
|||
$(THIRD_PARTY_ZLIB_A_OBJS) \
|
||||
$(foreach x,$(THIRD_PARTY_ZLIB_A_DIRECTDEPS),$($(x)_A).pkg)
|
||||
|
||||
o/$(MODE)/third_party/zlib/adler32simd.o: \
|
||||
o/$(MODE)/third_party/zlib/adler32simd.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-mssse3
|
||||
|
||||
o/$(MODE)/third_party/zlib/crcfold.o: \
|
||||
o/$(MODE)/third_party/zlib/crcfold.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-mpclmul \
|
||||
-mssse3
|
||||
|
||||
o/$(MODE)/third_party/zlib/deflate.o \
|
||||
o/$(MODE)/third_party/zlib/inflate.o \
|
||||
o/$(MODE)/third_party/zlib/adler32.o: \
|
||||
o/$(MODE)/third_party/zlib/adler32.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-ffunction-sections \
|
||||
-fdata-sections
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue