Commit Graph

8 Commits

Author SHA1 Message Date
Isaac Freund
dffcf3d8fc Fix compatibility with FreeBSD coreutils
I needed to patch this to package wlopm for chimera linux, which uses
FreeBSD's coreutils. Apparently -D is not portable, it means something
different for FreeBSD install.
2024-02-12 05:24:11 +01:00
Leon Henrik Plickat
2e8d305b9e Add -Wno-strict-prototypes to allow compiling wlopm with clang 2023-11-17 07:05:36 +01:00
Aleksei Bavshin
38af45c797 Install man file with correct permissions 2022-08-05 22:24:56 +02:00
Leon Henrik Plickat
2282371654 Use wl_output.name instead of xdg_output.name 2022-01-30 01:45:25 +01:00
Daniel Eklöf
a385b761bd Append to CFLAGS, instead of replacing them
The makefile already use (directly, or indirectly) CPPFLAGS and
LDFLAGS, so it makes sense to also use the user provided CFLAGS.

One example where this is necessary is if the user has set
CPPFLAGS=”-D_FORTIFY_SOURCE=2”, which, before this patch, results
in (even if the user has set CFLAGS=-O2):

/usr/include/features.h:397:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) -Werror=cpp]
2021-08-06 23:30:59 +02:00
Leon Henrik Plickat
2d574029fc Make compiler flags more aggressive 2021-06-29 15:51:02 +02:00
Leon Henrik Plickat
7ec9605b11 Fix Makefile 2021-06-15 14:59:46 +00:00
Leon Henrik Plickat
ff86018415 Implement everything 2021-06-14 21:35:52 +00:00