vp-build/srcpkgs/clockspeed/patches/clockspeed-0.62.cross.patch

17 lines
573 B
Diff

diff -Naur clockspeed-0.62.orig/conf-cc clockspeed-0.62/conf-cc
--- clockspeed-0.62.orig/conf-cc 1998-10-13 12:37:49.000000000 -0500
+++ clockspeed-0.62/conf-cc 2015-02-25 13:38:10.932118897 -0600
@@ -1,3 +1,3 @@
-gcc -O2
+$CC $CFLAGS
This will be used to compile .c files.
diff -Naur clockspeed-0.62.orig/conf-ld clockspeed-0.62/conf-ld
--- clockspeed-0.62.orig/conf-ld 1998-10-13 12:37:49.000000000 -0500
+++ clockspeed-0.62/conf-ld 2015-02-25 13:40:43.579122985 -0600
@@ -1,3 +1,3 @@
-gcc -s
+$CC -s $LDFLAGS
This will be used to link .o files into an executable.