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-deprecated-declarations',
|
||||||
'-Wno-unused-parameter',
|
'-Wno-unused-parameter',
|
||||||
'-Wno-sign-compare',
|
'-Wno-sign-compare',
|
||||||
get_option('opt'),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if get_option('imlib2') and get_option('openssl')
|
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('pangoxft', type : 'boolean', value : true, description : 'Enable Pango for libXft')
|
||||||
option('xinerama', type : 'boolean', value : true, description : 'Enable multi-monitor support using libXinerama')
|
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('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
|
#!/bin/bash
|
||||||
# spmenu build script
|
# spmenu build script
|
||||||
opt="${opt:-${OPT:--O2}}"
|
|
||||||
warn="${warn:-true}"
|
warn="${warn:-true}"
|
||||||
reconfigure="${reconfigure:-true}"
|
reconfigure="${reconfigure:-true}"
|
||||||
version="${version:-1.1}"
|
version="${version:-1.1}"
|
||||||
|
@ -45,7 +44,6 @@ build() {
|
||||||
-Dpango="$pango" \
|
-Dpango="$pango" \
|
||||||
-Dpangoxft="$pangoxft" \
|
-Dpangoxft="$pangoxft" \
|
||||||
-Dlibconfig="$libconfig" \
|
-Dlibconfig="$libconfig" \
|
||||||
-Dopt="$opt" \
|
|
||||||
-Dutf8="$utf8" \
|
-Dutf8="$utf8" \
|
||||||
--prefix "$prefix" \
|
--prefix "$prefix" \
|
||||||
build
|
build
|
||||||
|
@ -59,7 +57,6 @@ build() {
|
||||||
-Dpango="$pango" \
|
-Dpango="$pango" \
|
||||||
-Dpangoxft="$pangoxft" \
|
-Dpangoxft="$pangoxft" \
|
||||||
-Dlibconfig="$libconfig" \
|
-Dlibconfig="$libconfig" \
|
||||||
-Dopt="$opt" \
|
|
||||||
-Dutf8="$utf8" \
|
-Dutf8="$utf8" \
|
||||||
--prefix "$prefix" \
|
--prefix "$prefix" \
|
||||||
build
|
build
|
||||||
|
|
Loading…
Reference in a new issue