diff options
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/Makefile.common | 6 | ||||
-rw-r--r-- | mdk-stage1/init.c | 2 | ||||
-rw-r--r-- | mdk-stage1/rescue-gui.c | 2 |
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 , |