sunxi-tools 1.4.2-1 is not built with $RPM_OPT_FLAGS. 1.4.1-1 did not have this issue. A fix is to replace EXTRA_CFLAGS with CFLAGS in the "make" invocation.
They've changed that like 3 times in the last 3 releases. Will take a look
sunxi-tools-1.4.2-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6c8bba7d0b
sunxi-tools-1.4.2-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-cfaabcfd85
sunxi-tools-1.4.2-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6c8bba7d0b
sunxi-tools-1.4.2-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
sunxi-tools-1.4.2-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.