about summary refs log tree commit diff
path: root/sysdeps/loongarch/Makefile
blob: 41c344967010e002b6596bdbf2c2e46b27b97dca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ifeq ($(subdir),misc)
sysdep_headers += sys/asm.h
endif

# LoongArch's assembler also needs to know about PIC as it changes the
# definition of some assembler macros.
ASFLAGS-.os += $(pic-ccflag)

abi-variants := lp64

ifeq (,$(filter $(default-abi),$(abi-variants)))
$(error Unknown ABI $(default-abi), must be one of $(abi-variants))
endif

abi-lp64-condition    := defined __loongarch_lp64