Comment # 6 on bug 974360 from
Only for the log:

>From home:pluskalm:branches:Archiving ebiso ebiso.spec
------------------------------------------------------------------------------
%build
make %{?_smp_mflags} \
  %if %{__isa_bits} == 64
  FLAGS="%{optflags} -g -m64 -std=gnu9x -Wall -Wshadow -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -I./include" \
  %else
  FLAGS="%{optflags} -g -m32 -std=gnu9x -Wall -Wshadow -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -I./include"
  %endif
------------------------------------------------------------------------------

it fails to build on SLE11 because it seems on SLE11
  %if %{__isa_bits} == 64 
does not work.

The following makes ebiso to 0.2.3 build for me also on SLE11
------------------------------------------------------------------------------
%ifarch x86_64
make FLAGS="$RPM_OPT_FLAGS -m64 -std=gnu9x -Wshadow -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -I./include"
%else
make FLAGS="$RPM_OPT_FLAGS -m32 -std=gnu9x -Wshadow -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -I./include"
%endif
------------------------------------------------------------------------------
I have -Wall and -g are removed from the upstream FLAGS
because they are already set in our $RPM_OPT_FLAGS.


You are receiving this mail because: