Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorSantiago Torres <santiago@archlinux.org>2019-03-11 21:18:16 -0400
committerAllan McRae <allan@archlinux.org>2019-03-19 12:07:15 +1000
commit226d2c124884c7318b7fb86c2e6bdf792eddd1a9 (patch)
tree151d9df3037ab499ff7771433b569657f2a83967 /meson.build
parentbbfb75fd292e3f2818cdc0eae68c292bb3fbc50b (diff)
drop DU* config variables
Since DUFLAGS and DUPATH are not needed anymore remove them from the source Signed-off-by: Santiago Torres <santiago@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build11
1 files changed, 0 insertions, 11 deletions
diff --git a/meson.build b/meson.build
index 66a6385c..d443a2b3 100644
--- a/meson.build
+++ b/meson.build
@@ -252,7 +252,6 @@ config_h = configure_file(
configuration : conf)
add_project_arguments('-include', 'config.h', language : 'c')
-default_duflags = ' -sk --apparent-size'
default_sedinplaceflags = ' --follow-symlinks -i'
inodecmd = 'stat -c \'%i %n\''
strip_binaries = '--strip-all'
@@ -263,19 +262,12 @@ os = host_machine.system()
if os.startswith('darwin')
inodecmd = '/usr/bin/stat -f \'%i %n\''
default_sedinplaceflags = ' -i \'\''
- default_duflags = ' -sk'
strip_binaries = ''
strip_shared = '-s'
strip_static = '-s'
elif os.contains('bsd') or os == 'dragonfly'
inodecmd = 'stat -f \'%i %n\''
default_sedinplaceflags = ' -i \'\''
- default_duflags = ' -sk'
-endif
-
-duflags = get_option('duflags')
-if duflags == 'autodetect'
- duflags = default_duflags
endif
sedinplaceflags = get_option('sedinplaceflags')
@@ -310,8 +302,6 @@ substs.set('DEBUGSUFFIX', get_option('debug-suffix'))
substs.set('INODECMD', inodecmd)
substs.set('SEDINPLACEFLAGS', sedinplaceflags)
substs.set('SEDPATH', SED.path())
-substs.set('DUFLAGS', duflags)
-substs.set('DUPATH', DU.path())
substs.set('LIBMAKEPKGDIR', LIBMAKEPKGDIR)
substs.set('STRIP_BINARIES', strip_binaries)
substs.set('STRIP_SHARED', strip_shared)
@@ -463,7 +453,6 @@ message('\n '.join([
' Architecture : @0@'.format(carch),
' Host Type : @0@'.format(chost),
' File inode command : @0@'.format(inodecmd),
- ' Directory size command : @0@ @1@'.format(DU.path(), duflags),
' In-place sed command : @0@ @1@'.format(SED.path(), sedinplaceflags),
' libalpm version : @0@'.format(libalpm_version),
' pacman version : @0@'.format(PACKAGE_VERSION),