Hi,

What is the correct use of %ifarch in a spec file if I want to disable a feature on ARM v7? I tried:


%ifarch armv7l
%bcond_with     java
%else
%bcond_without  java
%endif


But java support was still enabled for armv7l, and the build resulted in a failure: https://build.opensuse.org/package/live_build_log/home:czanik:branches:Base:System/syslog-ng/openSUSE_Factory/armv7l

Peter

Reply via email to