Description of problem: atanks fails to build on ppc and s390 because '-march=native' is not a valid flag for gcc on these platforms. Version-Release number of selected component (if applicable): 6.3-1 How reproducible: try to koji-build atanks on ppc64/s390x Actual results: g++ fails with the following errors: PPC: # make Compiling obj/network.o /usr/lib64/ccache/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.3\" -DNETWORK -I/usr/include -march=native -Wall -Wextra -Wpedantic -std=c++11 -pthread -O2 -o obj/network.o -c src/network.cpp g++: error: unrecognized command line option ‘-march=native’ Makefile:284: recipe for target 'obj/network.o' failed make: *** [obj/network.o] Error 1 S390x: # g++ -march=native g++: error: unrecognized argument in option ‘-march=native’ g++: note: valid arguments to ‘-march=’ are: g5 g6 z10 z196 z9-109 z9-ec z900 z990 zEC12 g++: fatal error: no input files compilation terminated.
also on aarch64
Created attachment 1076426 [details] patch + spec changeset This fixes issue.
pushed to rawhide
atanks-6.3-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-69de455c28
atanks-6.3-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update atanks' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-69de455c28
atanks-6.3-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.