Skip to content

Commit

Permalink
Merge pull request #1296 from mbiebl/cppflags
Browse files Browse the repository at this point in the history
Do not overwrite CPPFLAGS
  • Loading branch information
tbzatek authored Jul 5, 2024
2 parents 1cc6dd1 + 25d7759 commit f2a7305
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions modules/btrfs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SUBDIRS = data

NULL =

CPPFLAGS = \
AM_CPPFLAGS = \
-I$(top_builddir) -I$(top_srcdir) \
-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
Expand Down Expand Up @@ -51,7 +51,7 @@ libudisks2_btrfs_la_SOURCES = \
$(NULL)

libudisks2_btrfs_la_CPPFLAGS = \
$(CPPFLAGS) \
$(AM_CPPFLAGS) \
-DG_LOG_DOMAIN=\"libudisks2-btrfs\" \
$(NULL)

Expand Down
4 changes: 2 additions & 2 deletions modules/iscsi/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SUBDIRS = data

NULL =

CPPFLAGS = \
AM_CPPFLAGS = \
-I$(top_builddir) -I$(top_srcdir) \
-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
Expand Down Expand Up @@ -56,7 +56,7 @@ libudisks2_iscsi_la_SOURCES += \
endif # BUILD_ISCSI_SESSION_OBJECT

libudisks2_iscsi_la_CPPFLAGS = \
$(CPPFLAGS) \
$(AM_CPPFLAGS) \
-DG_LOG_DOMAIN=\"libudisks2-iscsi\" \
$(NULL)

Expand Down
4 changes: 2 additions & 2 deletions modules/lsm/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SUBDIRS = data

NULL =

CPPFLAGS = \
AM_CPPFLAGS = \
-I$(top_builddir) -I$(top_srcdir) \
-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
Expand Down Expand Up @@ -48,7 +48,7 @@ libudisks2_lsm_la_SOURCES = \
$(NULL)

libudisks2_lsm_la_CPPFLAGS = \
$(CPPFLAGS) \
$(AM_CPPFLAGS) \
-DG_LOG_DOMAIN=\"libudisks2-lsm\" \
$(NULL)

Expand Down
4 changes: 2 additions & 2 deletions modules/lvm2/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SUBDIRS = data

NULL =

CPPFLAGS = \
AM_CPPFLAGS = \
-I$(top_builddir) -I$(top_srcdir) \
-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
Expand Down Expand Up @@ -55,7 +55,7 @@ libudisks2_lvm2_la_SOURCES = \
$(NULL)

libudisks2_lvm2_la_CPPFLAGS = \
$(CPPFLAGS) \
$(AM_CPPFLAGS) \
-DG_LOG_DOMAIN=\"libudisks2-lvm2\" \
$(NULL)

Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ EXTRA_DIST =

CLEANFILES =

CPPFLAGS = \
AM_CPPFLAGS = \
-I$(top_builddir) -I$(top_srcdir) \
-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
Expand Down

0 comments on commit f2a7305

Please sign in to comment.