forked from pool/emacs
.
OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=206
This commit is contained in:
parent
fe406011b2
commit
9ca27fec4e
@ -307,7 +307,7 @@ VERSION=%{version}
|
||||
SYS="--build=%{_target_cpu}-suse-%{_build_os}
|
||||
"
|
||||
%endif
|
||||
CFLAGS="${RPM_OPT_FLAGS} -D_GNU_SOURCE"
|
||||
CFLAGS="${RPM_OPT_FLAGS} -D_GNU_SOURCE -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS"
|
||||
LDFLAGS=
|
||||
cflags -pipe CFLAGS
|
||||
cflags -Wno-pointer-sign CFLAGS
|
||||
@ -346,18 +346,20 @@ DESKTOP="--with-x \
|
||||
--with-png \
|
||||
--with-rsvg \
|
||||
--with-dbus \
|
||||
--with-xft \
|
||||
--without-gpm \
|
||||
"
|
||||
GTK="${DESKTOP} \
|
||||
%if 0%{?suse_version} > 1130
|
||||
--with-x-toolkit=gtk3 \
|
||||
--with-xwidgets \
|
||||
%else
|
||||
--with-x-toolkit=gtk2 \
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1320
|
||||
--with-xwidgets \
|
||||
%endif
|
||||
--x-includes=%{_x11inc} \
|
||||
--x-libraries=%{_x11lib} \
|
||||
--with-xft \
|
||||
--with-libotf \
|
||||
--with-m17n-flt \
|
||||
--with-cairo \
|
||||
@ -366,7 +368,6 @@ DESKTOP="--with-x \
|
||||
--with-x-toolkit=lucid \
|
||||
--x-includes=%{_x11inc} \
|
||||
--x-libraries=%{_x11lib}:%{_x11data} \
|
||||
--with-xft \
|
||||
--without-libotf \
|
||||
--without-m17n-flt \
|
||||
"
|
||||
|
Loading…
x
Reference in New Issue
Block a user