2020-06-15 14:18:57 +00:00
|
|
|
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐
|
2023-12-13 07:28:11 +00:00
|
|
|
#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘
|
2020-06-15 14:18:57 +00:00
|
|
|
#
|
|
|
|
# SYNOPSIS
|
|
|
|
#
|
|
|
|
# Cosmopolitan Core Build Definitions
|
|
|
|
#
|
|
|
|
# DESCRIPTION
|
|
|
|
#
|
|
|
|
# Nearly all compiler flag tuning is done within this one file. Flags
|
|
|
|
# may be customized with environment variables. We also use this file
|
|
|
|
# to compute expensive values once per build.
|
|
|
|
#
|
|
|
|
# When tuning the variables below, please note they're interpreted in
|
|
|
|
# the strictest sense. For example, we don't pass CFLAGS to gcc if we
|
2021-02-07 14:11:44 +00:00
|
|
|
# know it's compiling a .S file. This enables our `make V=0` logging
|
|
|
|
# to be succinct and informative at the cost of being less forgiving.
|
2020-06-15 14:18:57 +00:00
|
|
|
#
|
|
|
|
# Further note that link order is equally unforgiving in repositories
|
|
|
|
# of this scale. We approach that by over-specifying dependencies, in
|
|
|
|
# packages that're broken down usually on a per-directory basis. This
|
|
|
|
# is aided by the checkdeps and functional programming tools which in
|
|
|
|
# most cases should be able to deduce correct ordering automatically.
|
|
|
|
#
|
|
|
|
# Concerning our approach to flag tuning, most of it is non-essential
|
|
|
|
# and largely serves to turn features off. Particularly features that
|
|
|
|
# would otherwise lock us in to a particular platform or legal terms.
|
|
|
|
# Other flags will usually be the ones that provide us marginal gains
|
|
|
|
# in terms of performance and code size, but the world won't end when
|
|
|
|
# they aren't used. Flags that play a critical role in source working
|
2020-08-26 16:41:07 +00:00
|
|
|
# correctly will usually be specified on a object-by-object basis, in
|
2020-06-15 14:18:57 +00:00
|
|
|
# their respective packages.
|
|
|
|
#
|
|
|
|
# VARIABLES
|
|
|
|
#
|
2023-06-08 11:37:05 +00:00
|
|
|
# Our configuration variables, ordered by increasing preference:
|
|
|
|
#
|
|
|
|
# CCFLAGS frontend flags (.i, .c, .cc, .f, .S, .lds, etc.)
|
|
|
|
# OFLAGS objectify flags (precludes -S and -E)
|
2020-06-15 14:18:57 +00:00
|
|
|
# CPPFLAGS preprocessor flags (.h, .c, .cc, .S, .inc, .lds, etc.)
|
2023-06-08 11:37:05 +00:00
|
|
|
# TARGET_ARCH microarchitecture flags (e.g. -march=native)
|
|
|
|
# COPTS c/c++ flags (.c, .cc)
|
2020-06-15 14:18:57 +00:00
|
|
|
# CFLAGS c flags (.c only)
|
|
|
|
# CXXFLAGS c++ flags (.cc only)
|
|
|
|
# LDFLAGS linker flags (don't use -Wl, frontend prefix)
|
|
|
|
# ASFLAGS assembler flags (don't use -Wa, frontend prefix)
|
2023-06-08 11:37:05 +00:00
|
|
|
#
|
|
|
|
# For each FOO above, there exists (by increasing preference)
|
|
|
|
#
|
|
|
|
# DEFAULT_FOO see build/definitions.mk
|
|
|
|
# CONFIG_FOO see build/config.mk
|
|
|
|
# FOO set ~/.cosmo.mk and target-specific
|
|
|
|
# OVERRIDE_FOO set ~/.cosmo.mk and target-specific (use rarely)
|
|
|
|
#
|
2020-06-15 14:18:57 +00:00
|
|
|
|
2022-08-21 07:17:20 +00:00
|
|
|
ifeq ($(LANDLOCKMAKE_VERSION),)
|
2024-02-01 11:39:46 +00:00
|
|
|
TMPSAFE = $(join $(TMPDIR)/,$(subst /,_,$@)).tmp
|
2022-08-21 07:17:20 +00:00
|
|
|
else
|
|
|
|
TMPSAFE = $(TMPDIR)/
|
|
|
|
endif
|
|
|
|
|
2021-10-14 00:27:13 +00:00
|
|
|
BACKTRACES = \
|
|
|
|
-fno-optimize-sibling-calls \
|
|
|
|
-mno-omit-leaf-frame-pointer
|
|
|
|
|
2023-05-09 09:35:05 +00:00
|
|
|
ifneq ($(ARCH), aarch64)
|
|
|
|
BACKTRACES += -fno-schedule-insns2
|
|
|
|
endif
|
|
|
|
|
2020-06-15 14:18:57 +00:00
|
|
|
SANITIZER = \
|
2021-02-07 14:11:44 +00:00
|
|
|
-fsanitize=address
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
NO_MAGIC = \
|
2023-09-07 15:29:16 +00:00
|
|
|
-ffreestanding \
|
2020-06-15 14:18:57 +00:00
|
|
|
-fno-stack-protector \
|
2022-03-18 09:33:37 +00:00
|
|
|
-fwrapv \
|
2023-09-07 15:29:16 +00:00
|
|
|
-fno-sanitize=all \
|
|
|
|
-fpatchable-function-entry=0,0
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
OLD_CODE = \
|
|
|
|
-fno-strict-aliasing \
|
|
|
|
-fno-strict-overflow
|
|
|
|
|
|
|
|
TRADITIONAL = \
|
|
|
|
-Wno-implicit-int \
|
|
|
|
-Wno-return-type \
|
|
|
|
-Wno-pointer-sign
|
|
|
|
|
2023-06-05 07:37:25 +00:00
|
|
|
DEFAULT_CCFLAGS += \
|
2020-06-15 14:18:57 +00:00
|
|
|
-Wall \
|
|
|
|
-Werror \
|
2023-06-08 13:44:54 +00:00
|
|
|
-fno-omit-frame-pointer \
|
2020-06-15 14:18:57 +00:00
|
|
|
-frecord-gcc-switches
|
|
|
|
|
2023-06-08 11:37:05 +00:00
|
|
|
DEFAULT_COPTS ?= \
|
2020-06-15 14:18:57 +00:00
|
|
|
-fno-ident \
|
|
|
|
-fno-common \
|
|
|
|
-fno-gnu-unique \
|
|
|
|
-fstrict-aliasing \
|
|
|
|
-fstrict-overflow \
|
2023-06-08 11:37:05 +00:00
|
|
|
-fno-semantic-interposition \
|
|
|
|
-fno-dwarf2-cfi-asm \
|
|
|
|
-fno-unwind-tables \
|
|
|
|
-fno-asynchronous-unwind-tables
|
2023-05-01 21:36:25 +00:00
|
|
|
|
2023-05-19 02:05:08 +00:00
|
|
|
ifeq ($(ARCH), x86_64)
|
2023-08-12 05:52:11 +00:00
|
|
|
# Microsoft says "[a]ny memory below the stack beyond the red zone
|
|
|
|
# [note: Windows defines the x64 red zone size as 0] is considered
|
|
|
|
# volatile and may be modified by the operating system at any time."
|
|
|
|
# https://devblogs.microsoft.com/oldnewthing/20190111-00/?p=100685
|
2023-05-01 21:36:25 +00:00
|
|
|
DEFAULT_COPTS += \
|
|
|
|
-mno-red-zone \
|
2022-07-10 11:01:17 +00:00
|
|
|
-mno-tls-direct-seg-refs
|
2023-05-01 21:36:25 +00:00
|
|
|
endif
|
2020-06-15 14:18:57 +00:00
|
|
|
|
2023-05-19 02:05:08 +00:00
|
|
|
ifeq ($(ARCH), aarch64)
|
|
|
|
#
|
|
|
|
# - Apple says in "Writing ARM64 code for Apple platforms" that we're
|
|
|
|
# not allowed to use the x18 register.
|
|
|
|
#
|
|
|
|
# - Cosmopolitan Libc uses x28 for thread-local storage because Apple
|
|
|
|
# forbids us from using tpidr_el0 too.
|
|
|
|
#
|
2023-08-12 05:52:11 +00:00
|
|
|
# - Cosmopolitan currently lacks an implementation of the runtime
|
|
|
|
# libraries needed by the -moutline-atomics flag
|
|
|
|
#
|
2023-05-19 02:05:08 +00:00
|
|
|
DEFAULT_COPTS += \
|
|
|
|
-ffixed-x18 \
|
2023-06-05 09:07:28 +00:00
|
|
|
-ffixed-x28 \
|
|
|
|
-mno-outline-atomics
|
2023-05-19 02:05:08 +00:00
|
|
|
endif
|
|
|
|
|
2020-08-25 11:23:25 +00:00
|
|
|
MATHEMATICAL = \
|
|
|
|
-O3 \
|
|
|
|
-fwrapv
|
|
|
|
|
2023-06-05 07:37:25 +00:00
|
|
|
DEFAULT_CPPFLAGS += \
|
2023-08-14 03:31:27 +00:00
|
|
|
-D_COSMO_SOURCE \
|
2021-02-27 18:47:19 +00:00
|
|
|
-DMODE='"$(MODE)"' \
|
Release Cosmopolitan v3.3
This change upgrades to GCC 12.3 and GNU binutils 2.42. The GNU linker
appears to have changed things so that only a single de-duplicated str
table is present in the binary, and it gets placed wherever the linker
wants, regardless of what the linker script says. To cope with that we
need to stop using .ident to embed licenses. As such, this change does
significant work to revamp how third party licenses are defined in the
codebase, using `.section .notice,"aR",@progbits`.
This new GCC 12.3 toolchain has support for GNU indirect functions. It
lets us support __target_clones__ for the first time. This is used for
optimizing the performance of libc string functions such as strlen and
friends so far on x86, by ensuring AVX systems favor a second codepath
that uses VEX encoding. It shaves some latency off certain operations.
It's a useful feature to have for scientific computing for the reasons
explained by the test/libcxx/openmp_test.cc example which compiles for
fifteen different microarchitectures. Thanks to the upgrades, it's now
also possible to use newer instruction sets, such as AVX512FP16, VNNI.
Cosmo now uses the %gs register on x86 by default for TLS. Doing it is
helpful for any program that links `cosmo_dlopen()`. Such programs had
to recompile their binaries at startup to change the TLS instructions.
That's not great, since it means every page in the executable needs to
be faulted. The work of rewriting TLS-related x86 opcodes, is moved to
fixupobj.com instead. This is great news for MacOS x86 users, since we
previously needed to morph the binary every time for that platform but
now that's no longer necessary. The only platforms where we need fixup
of TLS x86 opcodes at runtime are now Windows, OpenBSD, and NetBSD. On
Windows we morph TLS to point deeper into the TIB, based on a TlsAlloc
assignment, and on OpenBSD/NetBSD we morph %gs back into %fs since the
kernels do not allow us to specify a value for the %gs register.
OpenBSD users are now required to use APE Loader to run Cosmo binaries
and assimilation is no longer possible. OpenBSD kernel needs to change
to allow programs to specify a value for the %gs register, or it needs
to stop marking executable pages loaded by the kernel as mimmutable().
This release fixes __constructor__, .ctor, .init_array, and lastly the
.preinit_array so they behave the exact same way as glibc.
We no longer use hex constants to define math.h symbols like M_PI.
2024-02-20 19:12:09 +00:00
|
|
|
-Wno-prio-ctor-dtor \
|
2024-02-01 11:39:46 +00:00
|
|
|
-Wno-unknown-pragmas \
|
2020-06-15 14:18:57 +00:00
|
|
|
-nostdinc \
|
2023-11-09 03:06:35 +00:00
|
|
|
-iquote. \
|
|
|
|
-isystem libc/isystem
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
DEFAULT_CFLAGS = \
|
|
|
|
-std=gnu2x
|
|
|
|
|
|
|
|
DEFAULT_CXXFLAGS = \
|
2024-01-08 18:47:42 +00:00
|
|
|
-fno-rtti \
|
|
|
|
-fno-exceptions \
|
2020-06-15 14:18:57 +00:00
|
|
|
-fuse-cxa-atexit \
|
2020-07-02 20:46:08 +00:00
|
|
|
-Wno-int-in-bool-context \
|
2022-07-22 13:58:36 +00:00
|
|
|
-Wno-narrowing \
|
|
|
|
-Wno-literal-suffix
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
DEFAULT_ASFLAGS = \
|
|
|
|
-W \
|
|
|
|
-I. \
|
2023-07-10 19:17:18 +00:00
|
|
|
--noexecstack
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
DEFAULT_LDFLAGS = \
|
|
|
|
-static \
|
|
|
|
-nostdlib \
|
2023-07-24 00:07:38 +00:00
|
|
|
-znorelro \
|
2021-02-11 16:37:18 +00:00
|
|
|
--gc-sections \
|
Release Cosmopolitan v3.3
This change upgrades to GCC 12.3 and GNU binutils 2.42. The GNU linker
appears to have changed things so that only a single de-duplicated str
table is present in the binary, and it gets placed wherever the linker
wants, regardless of what the linker script says. To cope with that we
need to stop using .ident to embed licenses. As such, this change does
significant work to revamp how third party licenses are defined in the
codebase, using `.section .notice,"aR",@progbits`.
This new GCC 12.3 toolchain has support for GNU indirect functions. It
lets us support __target_clones__ for the first time. This is used for
optimizing the performance of libc string functions such as strlen and
friends so far on x86, by ensuring AVX systems favor a second codepath
that uses VEX encoding. It shaves some latency off certain operations.
It's a useful feature to have for scientific computing for the reasons
explained by the test/libcxx/openmp_test.cc example which compiles for
fifteen different microarchitectures. Thanks to the upgrades, it's now
also possible to use newer instruction sets, such as AVX512FP16, VNNI.
Cosmo now uses the %gs register on x86 by default for TLS. Doing it is
helpful for any program that links `cosmo_dlopen()`. Such programs had
to recompile their binaries at startup to change the TLS instructions.
That's not great, since it means every page in the executable needs to
be faulted. The work of rewriting TLS-related x86 opcodes, is moved to
fixupobj.com instead. This is great news for MacOS x86 users, since we
previously needed to morph the binary every time for that platform but
now that's no longer necessary. The only platforms where we need fixup
of TLS x86 opcodes at runtime are now Windows, OpenBSD, and NetBSD. On
Windows we morph TLS to point deeper into the TIB, based on a TlsAlloc
assignment, and on OpenBSD/NetBSD we morph %gs back into %fs since the
kernels do not allow us to specify a value for the %gs register.
OpenBSD users are now required to use APE Loader to run Cosmo binaries
and assimilation is no longer possible. OpenBSD kernel needs to change
to allow programs to specify a value for the %gs register, or it needs
to stop marking executable pages loaded by the kernel as mimmutable().
This release fixes __constructor__, .ctor, .init_array, and lastly the
.preinit_array so they behave the exact same way as glibc.
We no longer use hex constants to define math.h symbols like M_PI.
2024-02-20 19:12:09 +00:00
|
|
|
-z noexecstack \
|
2020-06-15 14:18:57 +00:00
|
|
|
--build-id=none \
|
2023-07-01 12:10:12 +00:00
|
|
|
--no-dynamic-linker
|
|
|
|
|
|
|
|
# # generate linker report files
|
|
|
|
# DEFAULT_LDFLAGS += --cref -Map=$@.map
|
2023-05-19 02:05:08 +00:00
|
|
|
|
|
|
|
ifeq ($(ARCH), aarch64)
|
|
|
|
DEFAULT_LDFLAGS += \
|
|
|
|
-zmax-page-size=0x4000 \
|
|
|
|
-zcommon-page-size=0x4000 \
|
|
|
|
-znorelro
|
|
|
|
else
|
|
|
|
DEFAULT_LDFLAGS += \
|
2023-08-17 18:12:10 +00:00
|
|
|
-zmax-page-size=0x4000 \
|
2023-05-19 02:05:08 +00:00
|
|
|
-zcommon-page-size=0x1000
|
|
|
|
endif
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
ASONLYFLAGS = \
|
2021-02-08 17:19:00 +00:00
|
|
|
-c \
|
2023-07-10 12:55:00 +00:00
|
|
|
-g
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
DEFAULT_LDLIBS =
|
|
|
|
|
|
|
|
MCA = llvm-mca-10 \
|
|
|
|
-mtriple=x86_64-pc-linux-gnu \
|
|
|
|
-instruction-info \
|
|
|
|
-iterations=3 \
|
|
|
|
-all-stats \
|
|
|
|
-all-views \
|
|
|
|
-timeline
|
|
|
|
|
|
|
|
cc.flags = \
|
|
|
|
$(DEFAULT_CCFLAGS) \
|
|
|
|
$(CONFIG_CCFLAGS) \
|
|
|
|
$(CCFLAGS) \
|
2020-06-19 06:04:41 +00:00
|
|
|
$(OVERRIDE_CCFLAGS)
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
o.flags = \
|
|
|
|
$(DEFAULT_OFLAGS) \
|
|
|
|
$(CONFIG_OFLAGS) \
|
|
|
|
$(OFLAGS) \
|
|
|
|
$(OVERRIDE_OFLAGS)
|
|
|
|
|
|
|
|
cpp.flags = \
|
|
|
|
$(DEFAULT_CPPFLAGS) \
|
|
|
|
$(CONFIG_CPPFLAGS) \
|
|
|
|
$(CPPFLAGS) \
|
2020-09-28 08:13:56 +00:00
|
|
|
$(OVERRIDE_CPPFLAGS) \
|
2022-08-06 10:51:50 +00:00
|
|
|
-include libc/integral/normalize.inc
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
copt.flags = \
|
|
|
|
$(TARGET_ARCH) \
|
|
|
|
$(DEFAULT_COPTS) \
|
|
|
|
$(CONFIG_COPTS) \
|
|
|
|
$(COPTS) \
|
|
|
|
$(OVERRIDE_COPTS)
|
|
|
|
|
|
|
|
f.flags = \
|
|
|
|
$(DEFAULT_FFLAGS) \
|
|
|
|
$(CONFIG_FFLAGS) \
|
|
|
|
$(FFLAGS) \
|
|
|
|
$(OVERRIDE_FFLAGS)
|
|
|
|
|
|
|
|
c.flags = \
|
|
|
|
$(DEFAULT_CFLAGS) \
|
|
|
|
$(CONFIG_CFLAGS) \
|
|
|
|
$(CFLAGS) \
|
|
|
|
$(OVERRIDE_CFLAGS)
|
|
|
|
|
|
|
|
cxx.flags = \
|
|
|
|
$(DEFAULT_CXXFLAGS) \
|
|
|
|
$(CONFIG_CXXFLAGS) \
|
|
|
|
$(CXXFLAGS) \
|
|
|
|
$(OVERRIDE_CXXFLAGS)
|
|
|
|
|
|
|
|
s.flags = \
|
|
|
|
$(DEFAULT_ASFLAGS) \
|
|
|
|
$(CONFIG_ASFLAGS) \
|
|
|
|
$(ASFLAGS) \
|
|
|
|
$(OVERRIDE_ASFLAGS)
|
|
|
|
|
|
|
|
S.flags = $(addprefix -Wa$(COMMA),$(s.flags))
|
|
|
|
|
|
|
|
LD.libs = \
|
|
|
|
$(LDLIBS) \
|
|
|
|
$(LOADLIBES) \
|
|
|
|
$(DEFAULT_LDLIBS) \
|
|
|
|
$(CONFIG_LDLIBS) \
|
|
|
|
$(LDLIBS) \
|
|
|
|
$(DEFAULT_LIBS) \
|
|
|
|
$(CONFIG_LIBS) \
|
|
|
|
$(LIBS)
|
|
|
|
|
2023-06-08 11:37:05 +00:00
|
|
|
COMPILE.c.flags = $(cc.flags) $(copt.flags) $(cpp.flags) $(c.flags)
|
|
|
|
COMPILE.cxx.flags = $(cc.flags) $(copt.flags) $(cpp.flags) $(cxx.flags)
|
2020-06-15 14:18:57 +00:00
|
|
|
COMPILE.i.flags = $(cc.flags) $(copt.flags) $(c.flags)
|
|
|
|
COMPILE.ii.flags = $(cc.flags) $(copt.flags) $(cxx.flags)
|
|
|
|
LINK.flags = $(DEFAULT_LDFLAGS) $(CONFIG_LDFLAGS) $(LDFLAGS)
|
2023-06-08 11:37:05 +00:00
|
|
|
OBJECTIFY.c.flags = $(cc.flags) $(o.flags) $(S.flags) $(cpp.flags) $(copt.flags) $(c.flags)
|
|
|
|
OBJECTIFY.cxx.flags = $(cc.flags) $(o.flags) $(S.flags) $(cpp.flags) $(copt.flags) $(cxx.flags)
|
2020-06-15 14:18:57 +00:00
|
|
|
OBJECTIFY.s.flags = $(ASONLYFLAGS) $(s.flags)
|
2023-06-08 11:37:05 +00:00
|
|
|
OBJECTIFY.S.flags = $(cc.flags) $(o.flags) $(S.flags) $(cpp.flags)
|
2020-06-15 14:18:57 +00:00
|
|
|
PREPROCESS.flags = -E $(copt.flags) $(cc.flags) $(cpp.flags)
|
|
|
|
PREPROCESS.lds.flags = -D__LINKER__ $(filter-out -g%,$(PREPROCESS.flags)) -P -xc
|
|
|
|
|
|
|
|
COMPILE.c = $(CC) -S $(COMPILE.c.flags)
|
2020-07-02 20:46:08 +00:00
|
|
|
COMPILE.cxx = $(CXX) -S $(COMPILE.cxx.flags)
|
2020-06-15 14:18:57 +00:00
|
|
|
COMPILE.i = $(CC) -S $(COMPILE.i.flags)
|
|
|
|
OBJECTIFY.s = $(AS) $(OBJECTIFY.s.flags)
|
|
|
|
OBJECTIFY.S = $(CC) $(OBJECTIFY.S.flags) -c
|
|
|
|
OBJECTIFY.c = $(CC) $(OBJECTIFY.c.flags) -c
|
|
|
|
OBJECTIFY.cxx = $(CXX) $(OBJECTIFY.cxx.flags) -c
|
|
|
|
PREPROCESS = $(CC) $(PREPROCESS.flags)
|
|
|
|
PREPROCESS.lds = $(CC) $(PREPROCESS.lds.flags)
|
2021-02-08 17:19:00 +00:00
|
|
|
LINK = $(LD) $(LINK.flags)
|
2020-06-15 14:18:57 +00:00
|
|
|
ELF = o/libc/elf/elf.lds
|
2023-06-10 16:15:19 +00:00
|
|
|
ELFLINK = $(COMPILE) -ALINK.elf $(LINK) $(LINKARGS) $(OUTPUT_OPTION) && $(COMPILE) -AFIXUP.ape -T$@ $(FIXUPOBJ) $@
|
2020-06-15 14:18:57 +00:00
|
|
|
LINKARGS = $(patsubst %.lds,-T %.lds,$(call uniqr,$(LD.libs) $(filter-out %.pkg,$^)))
|
|
|
|
|
|
|
|
# The compiler won't generate %xmm code for sources extensioned .greg.c,
|
|
|
|
# which is needed for C modules wanting to run at the executive level or
|
|
|
|
# during privileged runtime states, e.g. code morphing.
|
|
|
|
OBJECTIFY.greg.c = \
|
|
|
|
$(CC) \
|
|
|
|
$(filter-out -pg,$(OBJECTIFY.c.flags)) \
|
|
|
|
-D__MGENERAL_REGS_ONLY__ \
|
|
|
|
-mgeneral-regs-only \
|
|
|
|
-fno-stack-protector \
|
|
|
|
-fno-instrument-functions \
|
|
|
|
-fno-optimize-sibling-calls \
|
|
|
|
-fno-sanitize=all \
|
2022-03-16 20:33:13 +00:00
|
|
|
-ffreestanding \
|
|
|
|
-fwrapv \
|
2020-06-15 14:18:57 +00:00
|
|
|
-c
|
|
|
|
|
2020-08-25 11:23:25 +00:00
|
|
|
TAGSFLAGS = \
|
|
|
|
-e \
|
|
|
|
-a \
|
|
|
|
--if0=no \
|
|
|
|
--langmap=c:.c.h.i \
|
|
|
|
--line-directives=yes \
|
2020-11-25 16:19:00 +00:00
|
|
|
--exclude=libc/nt/struct/imagefileheader.internal.h \
|
2020-08-25 11:23:25 +00:00
|
|
|
--exclude=libc/nt/struct/filesegmentelement.h
|