mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-08 12:18:31 +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
|
@ -54,14 +54,14 @@ $(LIBC_FMT_A).pkg: \
|
|||
$(LIBC_FMT_A_OBJS) \
|
||||
$(foreach x,$(LIBC_FMT_A_DIRECTDEPS),$($(x)_A).pkg)
|
||||
|
||||
$(LIBC_FMT_A_OBJS): \
|
||||
$(LIBC_FMT_A_OBJS): private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-fno-jump-tables
|
||||
|
||||
o/$(MODE)/libc/fmt/formatint64.o \
|
||||
o/$(MODE)/libc/fmt/formatint64thousands.o \
|
||||
o/$(MODE)/libc/fmt/dosdatetimetounix.o \
|
||||
o/$(MODE)/libc/fmt/itoa64radix10.greg.o: \
|
||||
o/$(MODE)/libc/fmt/itoa64radix10.greg.o: private\
|
||||
OVERRIDE_CFLAGS += \
|
||||
-O3
|
||||
|
||||
|
@ -73,7 +73,7 @@ o/$(MODE)/libc/fmt/wcstoul.o \
|
|||
o/$(MODE)/libc/fmt/strtoimax.o \
|
||||
o/$(MODE)/libc/fmt/strtoumax.o \
|
||||
o/$(MODE)/libc/fmt/wcstoimax.o \
|
||||
o/$(MODE)/libc/fmt/wcstoumax.o: \
|
||||
o/$(MODE)/libc/fmt/wcstoumax.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-Os
|
||||
|
||||
|
@ -81,7 +81,7 @@ o/$(MODE)/libc/fmt/wcstoumax.o: \
|
|||
# kprintf() depends on these functions
|
||||
o/$(MODE)/libc/fmt/strerrno.greg.o \
|
||||
o/$(MODE)/libc/fmt/strerrdoc.greg.o \
|
||||
o/$(MODE)/libc/fmt/strerror_wr.greg.o: \
|
||||
o/$(MODE)/libc/fmt/strerror_wr.greg.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-fpie \
|
||||
-ffreestanding \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue