r608 - x86/trunk

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Mon Sep 5 11:19:16 PDT 2005


Author: jhuntwork
Date: 2005-09-05 12:19:15 -0600 (Mon, 05 Sep 2005)
New Revision: 608

Modified:
   x86/trunk/Makefile
Log:
Removed CHOST variable as it's unused. New if statement for CFLAGS, CXXFLAGS.

Modified: x86/trunk/Makefile
===================================================================
--- x86/trunk/Makefile	2005-09-05 18:16:28 UTC (rev 607)
+++ x86/trunk/Makefile	2005-09-05 18:19:15 UTC (rev 608)
@@ -79,9 +79,13 @@
 
 # More Environment Variables
 #==============================================================================
+ifeq ($(ARCH),x86)
 export CFLAGS := -Os -s -march=i486
-export CXXFLAGS := -Os -s -march=i486
-export CHOST := i486-pc-linux-gnu
+export CXXFLAGS := $(CFLAGS)
+else
+export CFLAGS := -Os -s
+export CXXFLAGS := $(CFLAGS)
+endif
 export chbash-pre-bash := SHELL=$(WD)/bin/bash
 export chbash-post-bash := SHELL=/bin/bash
 export WHICH= $(WD)/bin/which




More information about the livecd mailing list