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
6
third_party/dlmalloc/dlmalloc.mk
vendored
6
third_party/dlmalloc/dlmalloc.mk
vendored
|
@ -53,20 +53,20 @@ $(THIRD_PARTY_DLMALLOC_A).pkg: \
|
|||
# README file recommends -O3
|
||||
# It does double performance in default mode
|
||||
o//third_party/dlmalloc/dlmalloc.o \
|
||||
o/rel/third_party/dlmalloc/dlmalloc.o: \
|
||||
o/rel/third_party/dlmalloc/dlmalloc.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-O3
|
||||
|
||||
# we can't use address sanitizer because:
|
||||
# address sanitizer depends on dlmalloc
|
||||
o/$(MODE)/third_party/dlmalloc/dlmalloc.o: \
|
||||
o/$(MODE)/third_party/dlmalloc/dlmalloc.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-ffreestanding \
|
||||
-fno-sanitize=address
|
||||
|
||||
# we must segregate codegen because:
|
||||
# file contains multiple independently linkable apis
|
||||
o/$(MODE)/third_party/dlmalloc/dlmalloc.o: \
|
||||
o/$(MODE)/third_party/dlmalloc/dlmalloc.o: private \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-ffunction-sections \
|
||||
-fdata-sections
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue