Message ID | 20250309060039.454124-3-wuxiaotian@loongson.cn |
---|---|
State | New |
Headers | show |
Series | Porting pseudo to LoongArch | expand |
diff --git a/Makefile.in b/Makefile.in index 48fdbd2..0bb8a88 100644 --- a/Makefile.in +++ b/Makefile.in @@ -157,10 +157,10 @@ pseudo_wrappers.o: $(GUTS) pseudo_wrappers.c pseudo_wrapfuncs.c pseudo_wrapfuncs $(CC) -fno-strict-aliasing $(CFLAGS) $(CFLAGS_PSEUDO) -D_GNU_SOURCE -c -o pseudo_wrappers.o pseudo_wrappers.c offsets32: - $(CC) -m32 -o offsets32 offsets.c + $(CC) $(ARCH_FLAGS) -o offsets32 offsets.c offsets64: - $(CC) -m64 -o offsets64 offsets.c + $(CC) $(ARCH_FLAGS) -o offsets64 offsets.c $(PSEUDO_PROFILE): pseudo_profile | $(BIN) cp pseudo_profile $(BIN)
Gcc on Loongarch does not support this -m32 and -m64 options. we can use the $(ARCH_CLAGS) variable instead. Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn> --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)