Path: blob/main/core/f2c/src/00-wasm-makefile-ld.patch
1067 views
--- native/libf2c/makefile.u 2022-09-09 09:06:24.000000000 -07001+++ wasm/libf2c/makefile.u 2022-09-09 10:03:35.000000000 -07002@@ -20,8 +20,7 @@3# compile, then strip unnecessary symbols4.c.o:5$(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c6- ld -r -x -o $*.xxx $*.o7- mv $*.xxx $*.o8+9## Under Solaris (and other systems that do not understand ld -x),10## omit -x in the ld line above.11## If your system does not have the ld command, comment out12@@ -72,8 +71,8 @@13all: f2c.h signal1.h sysdep1.h libf2c.a1415libf2c.a: $(OFILES)16- ar r libf2c.a $?17- -ranlib libf2c.a18+ zig ar r libf2c.a $?19+ -zig ranlib libf2c.a2021## Shared-library variant: the following rule works on Linux22## systems. Details are system-dependent. Under Linux, -fPIC232425