diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-09-22 19:47:24 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-02 16:50:34 +0700 |
commit | 4e168a9f4dce52b835780927792adc6b69fa76d4 (patch) | |
tree | 68fc3d23b0307fd3b817ee769f5cf62470cd39ac /system/slim/patches/slim-1.3.6-honour-cflags.patch | |
parent | b5b7a79881d0e022ba802f180208db01e13ae5d1 (diff) |
system/slim: Add PAM support, fix for gcc >= 11.x, cleanups.
Thanks gentoo and archlinux for most of the stuff
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/slim/patches/slim-1.3.6-honour-cflags.patch')
-rw-r--r-- | system/slim/patches/slim-1.3.6-honour-cflags.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/system/slim/patches/slim-1.3.6-honour-cflags.patch b/system/slim/patches/slim-1.3.6-honour-cflags.patch new file mode 100644 index 000000000000..2a43be75fb02 --- /dev/null +++ b/system/slim/patches/slim-1.3.6-honour-cflags.patch @@ -0,0 +1,14 @@ +--- a/CMakeLists.txt 2013-10-01 18:38:05.000000000 -0400 ++++ b/CMakeLists.txt.new 2013-10-15 11:33:18.975741094 -0400 +@@ -42,11 +42,6 @@ + set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DPKGDATADIR=\"${PKGDATADIR}\"") + set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DSYSCONFDIR=\"${SYSCONFDIR}\"") + +-# Flags +-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -g -O2") +-set(CMAKE_CPP_FLAGS "${CMAKE_CPP_FLAGS} -Wall -g -O2") +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -g -O2") +- + # source + set(slim_srcs + main.cpp |