Add -std=c++11 to CXXFLAGS for fixing the build issue
This commit is contained in:
parent
5d6505062a
commit
ba51a75a8d
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
Name: open-vm-tools
|
Name: open-vm-tools
|
||||||
Version: %{toolsversion}
|
Version: %{toolsversion}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
|
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -119,7 +119,8 @@ VMware virtual machines.
|
|||||||
# Use _DEFAULT_SOURCE to suppress warning until upstream
|
# Use _DEFAULT_SOURCE to suppress warning until upstream
|
||||||
# is fixed. Refer https://sourceware.org/bugzilla/show_bug.cgi?id=16632.
|
# is fixed. Refer https://sourceware.org/bugzilla/show_bug.cgi?id=16632.
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -D_DEFAULT_SOURCE"
|
export CFLAGS="$RPM_OPT_FLAGS -D_DEFAULT_SOURCE"
|
||||||
export CXXLAGS="$RPM_OPT_FLAGS -D_DEFAULT_SOURCE"
|
# Some sigc++-2.0 headers need C++11
|
||||||
|
export CXXFLAGS="$RPM_OPT_FLAGS -D_DEFAULT_SOURCE -std=c++11"
|
||||||
# Required for regenerating configure script when
|
# Required for regenerating configure script when
|
||||||
# configure.ac get modified
|
# configure.ac get modified
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
@ -258,6 +259,10 @@ fi
|
|||||||
%{_libdir}/libvmtools.so
|
%{_libdir}/libvmtools.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 30 2015 Ravindra Kumar <ravindrakumar@vmware.com> - 10.0.0-2
|
||||||
|
- Add -std=c++11 to CXXFLAGS for fixing the build issue,
|
||||||
|
https://kojipkgs.fedoraproject.org//work/tasks/3685/11273685/build.log
|
||||||
|
|
||||||
* Tue Sep 29 2015 Ravindra Kumar <ravindrakumar@vmware.com> - 10.0.0-1
|
* Tue Sep 29 2015 Ravindra Kumar <ravindrakumar@vmware.com> - 10.0.0-1
|
||||||
- Package new upstream version open-vm-tools-10.0.0-3000743
|
- Package new upstream version open-vm-tools-10.0.0-3000743
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user