mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Fix double spaces in CFLAGS. Suppress error messages from rpmbuild
when calculating the architecture.
This commit is contained in:
parent
f2d6325871
commit
ebc197834e
@ -16,8 +16,8 @@ distcheck() {
|
||||
# Add -Wstrict-prototypes after main.h is fixed (always use cpanel).
|
||||
# Maybe add -W if a better way to initialize quick dialogs is found.
|
||||
export CFLAGS="-O2 -Wall -Wno-unused-parameter -Wno-sign-compare \
|
||||
-Wmissing-declarations -Wmissing-prototypes -Wbad-function-cast \
|
||||
-Wcast-align -Wpointer-arith -Wredundant-decls -Wundef -Wfloat-equal"
|
||||
-Wmissing-declarations -Wmissing-prototypes -Wbad-function-cast \
|
||||
-Wcast-align -Wpointer-arith -Wredundant-decls -Wundef -Wfloat-equal"
|
||||
|
||||
# Suppress progress indicator
|
||||
export MSGMERGE="msgmerge --quiet"
|
||||
@ -63,7 +63,7 @@ if test -x $RPMBUILD; then
|
||||
mkdir "$RPM_SRC_DIR"
|
||||
mkdir "$RPM_SRC_DIR/BUILD"
|
||||
mkdir "$RPM_SRC_DIR/RPMS"
|
||||
mkdir "$RPM_SRC_DIR/RPMS/`$RPMBUILD --eval='%{_host_cpu}'`"
|
||||
mkdir "$RPM_SRC_DIR/RPMS/`$RPMBUILD --eval='%{_host_cpu}' 2>/dev/null`"
|
||||
mkdir "$RPM_SRC_DIR/SPECS"
|
||||
$RPMBUILD -tb --define="_topdir $RPM_SRC_DIR" mc-*.tar.gz >test-rpm.out 2>test-rpm.err
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user