packaging: workaround by disabling some optimisations sandbox/pcoval/tizen submit/tizen_common/20141114.172857
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Fri, 14 Nov 2014 17:01:25 +0000 (18:01 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Fri, 14 Nov 2014 17:26:25 +0000 (18:26 +0100)
gcc-4.9.1 broke syslinux-6.03

It was tested on ia32 on single ext4 partion on gps disk

Bug: http://bugzilla.syslinux.org/show_bug.cgi?id=57
Bug-Tizen: TC-1873/related
Change-Id: I51f740bce252cb265862894a95cb94ba16a2412d
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/syslinux.spec

index 703901a..ae5c676 100644 (file)
@@ -69,9 +69,10 @@ booting in the /var/lib/tftpboot directory.
 
 %build
 cp %{SOURCE1001} .
-%define make %__make CC='%{my_cc}'
+%define make %__make CC='%{my_cc}' OPTFLAGS="-DDEBUG=1 -O0"
 
 %make bios clean
+%make bios spotless
 %make bios all
 
 %install