mirror of
https://github.com/systemd/systemd.git
synced 2025-03-10 16:58:28 +03:00
gcc: disable warn_unused_result attribute warnings
This commit is contained in:
parent
634826b51b
commit
8745297f98
@ -80,6 +80,7 @@ CC_CHECK_CFLAGS_APPEND([ \
|
||||
-Wno-overlength-strings \
|
||||
-Wno-unused-parameter \
|
||||
-Wno-missing-field-initializers \
|
||||
-Wno-unused-result \
|
||||
-Wp,-D_FORTIFY_SOURCE=2 \
|
||||
-ffast-math \
|
||||
-fno-common \
|
||||
|
@ -96,7 +96,7 @@ static char** session_dirs(void) {
|
||||
* one. */
|
||||
|
||||
mkdir_parents(data_home, 0777);
|
||||
symlink("../../../.config/systemd/session", data_home);
|
||||
(void) symlink("../../../.config/systemd/session", data_home);
|
||||
}
|
||||
|
||||
if ((e = getenv("XDG_DATA_DIRS")))
|
||||
|
Loading…
x
Reference in New Issue
Block a user