* [gentoo-commits] gentoo-x86 commit in sys-libs/libfaketime/files: libfaketime-0.9.1-makefile.patch
@ 2012-10-23 22:26 Tim Harder (radhermit)
0 siblings, 0 replies; only message in thread
From: Tim Harder (radhermit) @ 2012-10-23 22:26 UTC (permalink / raw
To: gentoo-commits
radhermit 12/10/23 22:26:58
Added: libfaketime-0.9.1-makefile.patch
Log:
Version bump.
(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Revision Changes Path
1.1 sys-libs/libfaketime/files/libfaketime-0.9.1-makefile.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libfaketime/files/libfaketime-0.9.1-makefile.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libfaketime/files/libfaketime-0.9.1-makefile.patch?rev=1.1&content-type=text/plain
Index: libfaketime-0.9.1-makefile.patch
===================================================================
--- libfaketime-0.9.1/Makefile
+++ libfaketime-0.9.1/Makefile
@@ -1,6 +1,5 @@
all:
$(MAKE) -C src all
- $(MAKE) -C test all
test:
$(MAKE) -C test all
--- libfaketime-0.9.1/src/Makefile
+++ libfaketime-0.9.1/src/Makefile
@@ -47,7 +47,7 @@
# the dynamic disabling of the FAKE_STAT calls.
#
-CC = gcc
+CC ?= gcc
INSTALL = install
PREFIX = /usr/local
--- libfaketime-0.9.1/test/Makefile
+++ libfaketime-0.9.1/test/Makefile
@@ -1,7 +1,7 @@
-CC = gcc
+CC ?= gcc
-CFLAGS = -std=gnu99 -Wall -DFAKE_STAT
-LDFLAGS = -lrt
+CFLAGS += -std=gnu99 -Wall -DFAKE_STAT
+LIBS = -lrt
SRC = timetest.c
OBJ = ${SRC:.c=.o}
@@ -12,7 +12,7 @@
${CC} -c ${CFLAGS} $<
timetest: ${OBJ}
- ${CC} -o $@ ${OBJ} ${LDFLAGS}
+ ${CC} -o $@ ${OBJ} ${LDFLAGS} ${LIBS}
test: timetest functest
@echo
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-23 22:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-23 22:26 [gentoo-commits] gentoo-x86 commit in sys-libs/libfaketime/files: libfaketime-0.9.1-makefile.patch Tim Harder (radhermit)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox