]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
toolchain: filter -mfpu from CFLAGS for first pass
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 7 Jul 2017 08:12:28 +0000 (10:12 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 7 Jul 2017 08:12:28 +0000 (10:12 +0200)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/binutils
lfs/ccache
lfs/gcc

index 8bf6decd94ffff73f4865af6619905757a65fefe..79ac96b3e20f7d57abed3785398ed675de4ff8b8 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2016  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2017  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -47,6 +47,7 @@ ifeq "$(ROOT)" ""
 else
 ifeq "$(PASS)" "1"
   CFLAGS := $(patsubst -march=%,,$(CFLAGS))
+  CFLAGS := $(patsubst -mfpu=%,,$(CFLAGS))
   CFLAGS := $(patsubst -mfloat-abi=%,,$(CFLAGS))
 
   TARGET = $(DIR_INFO)/$(THISAPP)-tools1
index 43f4df70ece918500a92076036f760559fac3ca7..f7da652ad826fc299bc8e39cce0cecbdeb5badff 100644 (file)
@@ -34,6 +34,7 @@ TARGET     = $(DIR_INFO)/$(THISAPP)-pass$(PASS)
 
 ifeq "$(PASS)" "1"
        CFLAGS := $(patsubst -march=%,,$(CFLAGS))
+       CFLAGS := $(patsubst -mfpu=%,,$(CFLAGS))
        CFLAGS := $(patsubst -mfloat-abi=%,,$(CFLAGS))
 endif
 
diff --git a/lfs/gcc b/lfs/gcc
index f04e2df8c071efc3fd1df6ac4a06673ec928e70f..9325792ffe944e53e3cd96713b61cf337a82b1ac 100644 (file)
--- a/lfs/gcc
+++ b/lfs/gcc
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2016  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2017  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -36,6 +36,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
 CFLAGS    := $(patsubst -march=%,,$(CFLAGS))
+CFLAGS    := $(patsubst -mfpu=%,,$(CFLAGS))
 CFLAGS    := $(patsubst -mtune=%,,$(CFLAGS))
 CFLAGS    := $(patsubst -mfloat-abi=%,,$(CFLAGS))
 CFLAGS    := $(filter-out -fexceptions,$(CFLAGS))