21 lines
602 B
Makefile
21 lines
602 B
Makefile
# Makefile - hhl - /usr/src/toolchain/gcc-pass2
|
|
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
|
|
#
|
|
distname = gcc
|
|
include toolchain.mk
|
|
ifeq ($(build_fortran), 1)
|
|
fortran = ',fortran'
|
|
objdir = $(global_objdir)/gcc-pass2
|
|
config_opts += --target=$(tgt)
|
|
config_opts += --with-sysroot=$(build)
|
|
config_opts += --enable-languages=c,c++${fortran}
|
|
config_opts += --disable-multilib
|
|
config_opts += --disable-bootstrap
|
|
# For musl
|
|
#config_opts += --disable-libsanitizer
|
|
ifneq ($(filter i686 x86_64, $(arch)), $(arch))
|
|
config_opts += --disable-libsanitizer
|
|
endif
|
|
|
|
include targets.mk
|