summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-06-07 08:22:12 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-06-07 08:29:16 +0200
commitafb976328411ad2f63678241e8fe41efd64827b1 (patch)
treef6edc99ad62d8fb3b94453fa2dd425e400112858 /mdk-stage1
parent9d14d4b6613a7d1886ae775341de29d3e40334cc (diff)
downloaddrakx-afb976328411ad2f63678241e8fe41efd64827b1.tar
drakx-afb976328411ad2f63678241e8fe41efd64827b1.tar.gz
drakx-afb976328411ad2f63678241e8fe41efd64827b1.tar.bz2
drakx-afb976328411ad2f63678241e8fe41efd64827b1.tar.xz
drakx-afb976328411ad2f63678241e8fe41efd64827b1.zip
cleanup unsupported arches
rationale: we drop support in stage2 and their support was totally broken due to missing conversion to dracut, udev, ...
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/Makefile.common6
-rw-r--r--mdk-stage1/init.c2
-rw-r--r--mdk-stage1/rescue-gui.c2
3 files changed, 3 insertions, 7 deletions
diff --git a/mdk-stage1/Makefile.common b/mdk-stage1/Makefile.common
index 36fa34d49..357bce3de 100644
--- a/mdk-stage1/Makefile.common
+++ b/mdk-stage1/Makefile.common
@@ -35,11 +35,7 @@ OPTFLAGS = -Os
endif
#- flags used by all stuff
-CFLAGS = $(OPTFLAGS) -pipe -Wall -fomit-frame-pointer -fno-strict-aliasing
-
-ifneq (ppc, $(ARCH))
-CFLAGS += -Werror
-endif
+CFLAGS = $(OPTFLAGS) -pipe -Wall -fomit-frame-pointer -fno-strict-aliasing -Werror
INCLUDES = -I.
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index 664ce2e82..920cffc45 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -63,7 +63,7 @@ static inline long reboot(unsigned int command)
char * env[] = {
"PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sbin:/mnt/usr/sbin:/mnt/bin:/mnt/usr/bin",
"LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/lib:/mnt/usr/lib"
-#if defined(__x86_64__) || defined(__ppc64__)
+#if defined(__x86_64__)
":/lib64:/usr/lib64:/mnt/lib64:/mnt/usr/lib64"
#endif
,
diff --git a/mdk-stage1/rescue-gui.c b/mdk-stage1/rescue-gui.c
index e59f9c57c..b96f0ae6e 100644
--- a/mdk-stage1/rescue-gui.c
+++ b/mdk-stage1/rescue-gui.c
@@ -48,7 +48,7 @@ static inline long reboot(void)
char * env[] = {
"PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sbin:/mnt/usr/sbin:/mnt/bin:/mnt/usr/bin",
"LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/lib:/mnt/usr/lib"
-#if defined(__x86_64__) || defined(__ppc64__)
+#if defined(__x86_64__)
":/lib64:/usr/lib64:/mnt/lib64:/mnt/usr/lib64"
#endif
,