From 7dd1441f48674bae97bb0aefeae65b7219cffe76 Mon Sep 17 00:00:00 2001 From: speedie Date: Wed, 17 May 2023 08:17:04 +0200 Subject: [PATCH] remove opt variable, it makes no sense --- meson.build | 1 - meson.options | 1 - scripts/make/build.sh | 3 --- 3 files changed, 5 deletions(-) diff --git a/meson.build b/meson.build index da19618..14c31a5 100644 --- a/meson.build +++ b/meson.build @@ -35,7 +35,6 @@ build_args = [ '-Wno-deprecated-declarations', '-Wno-unused-parameter', '-Wno-sign-compare', - get_option('opt'), ] if get_option('imlib2') and get_option('openssl') diff --git a/meson.options b/meson.options index c155e13..717846c 100644 --- a/meson.options +++ b/meson.options @@ -7,4 +7,3 @@ option('pango', type : 'boolean', value : true, description : 'Enable Pango mark option('pangoxft', type : 'boolean', value : true, description : 'Enable Pango for libXft') option('xinerama', type : 'boolean', value : true, description : 'Enable multi-monitor support using libXinerama') option('utf8', type : 'boolean', value : true, description : 'Enable UTF-8 character support') -option('opt', type : 'string', value : '-O2', description : 'Optimization level') diff --git a/scripts/make/build.sh b/scripts/make/build.sh index 14729b1..f4e094f 100755 --- a/scripts/make/build.sh +++ b/scripts/make/build.sh @@ -1,6 +1,5 @@ #!/bin/bash # spmenu build script -opt="${opt:-${OPT:--O2}}" warn="${warn:-true}" reconfigure="${reconfigure:-true}" version="${version:-1.1}" @@ -45,7 +44,6 @@ build() { -Dpango="$pango" \ -Dpangoxft="$pangoxft" \ -Dlibconfig="$libconfig" \ - -Dopt="$opt" \ -Dutf8="$utf8" \ --prefix "$prefix" \ build @@ -59,7 +57,6 @@ build() { -Dpango="$pango" \ -Dpangoxft="$pangoxft" \ -Dlibconfig="$libconfig" \ - -Dopt="$opt" \ -Dutf8="$utf8" \ --prefix "$prefix" \ build