initial commit
[glibc.git] / sysdeps / riscv / Makefile
1 ifeq ($(subdir),misc)
2 sysdep_headers += sys/asm.h
3 endif
4
5 # RISC-V's assembler also needs to know about PIC as it changes the definition
6 # of some assembler macros.
7 ASFLAGS-.os += $(pic-ccflag)
8
9 ifeq (no,$(riscv-r-align))
10 ASFLAGS-.os += -Wa,-mno-relax
11 ASFLAGS-.o += -Wa,-mno-relax
12 sysdep-CFLAGS += -mno-relax
13 endif