diff options
author | Juan Quintela <quintela@redhat.com> | 2009-07-21 14:11:18 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:10:55 -0500 |
commit | 70071e1707b035b9b750f4494ae53c6ab696c4fc (patch) | |
tree | d5ee809db881eb33927d8e6ddc7f1047f6c9aa7f /Makefile.target | |
parent | 2358a4940b7f9b863fa8084960f40517985df8c1 (diff) |
move cc-option definition to rules.mak
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Makefile.target b/Makefile.target index 4b8005570e..dbb2263fa6 100644 --- a/Makefile.target +++ b/Makefile.target @@ -21,12 +21,6 @@ endif PROGS=$(QEMU_PROG) -# cc-option -# Usage: CFLAGS+=$(call cc-option, $(CFLAGS), -falign-functions=0, -malign-functions=0) - -cc-option = $(shell if $(CC) $(1) $(2) -S -o /dev/null -xc /dev/null \ - > /dev/null 2>&1; then echo "$(2)"; else echo "$(3)"; fi ;) - HELPER_CFLAGS= ifeq ($(ARCH),i386) |