remove opt variable, it makes no sense
This commit is contained in:
parent
fa645e1ae7
commit
7dd1441f48
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue