mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
7d15e5a75b
the evil cpp stringification hack for the architecture name work. Otherwise "uname -m" generally evaluates to a value that is a macro that expands to resulting in all architectures appearing to be fbsd-1.
15 lines
468 B
Plaintext
15 lines
468 B
Plaintext
|
|
$FreeBSD$
|
|
|
|
--- libs/uti/Makefile.orig
|
|
+++ libs/uti/Makefile
|
|
@@ -186,7 +186,7 @@
|
|
$(CC) $(CFLAGS) $(COD_NPROCS_CFLAGS) $(SHARED_CFLAGS) -c $(UTILIB_DIR)/sge_nprocs.c
|
|
|
|
sge_arch.o: $(UTILIB_DIR)/sge_arch.c
|
|
- $(CC) $(CFLAGS) $(SHARED_CFLAGS) -c $(UTILIB_DIR)/sge_arch.c
|
|
+ $(CC) -ansi $(CFLAGS) $(SHARED_CFLAGS) -c $(UTILIB_DIR)/sge_arch.c
|
|
|
|
sge_loadmem.o: $(UTILIB_DIR)/sge_loadmem.c
|
|
$(CC) $(CFLAGS) $(MEMCFLAG) $(SHARED_CFLAGS) -c $(UTILIB_DIR)/sge_loadmem.c
|