Skip to content

Commit

Permalink
No need for a duplicate show_config
Browse files Browse the repository at this point in the history
  • Loading branch information
halosghost committed Apr 23, 2016
1 parent 45b85bb commit 1c33afe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ default_config () {
update FALLBACK_PROVIDER "https://ptpb.pw/"
update_tuprule CFLAGS '-g -O3 -fPIE -pie -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=1 -Weverything -Werror -std=c11 -fsanitize=undefined -fsanitize-trap=undefined -Wl,-z,relro,-z,now -march=native'
update_tuprule CC 'clang'
show_config
}

show_tuprule () {
Expand Down Expand Up @@ -49,7 +48,7 @@ for i in "$@"; do
--cflags=*) update_tuprule CFLAGS "${i#*=}"; shift;;
--help) usage; exit 0;;
--provider=*) update FALLBACK_PROVIDER "${i#*=}"; shift;;
--reset-config) default_config; exit 0;;
--reset-config) default_config; break;
esac
done

Expand Down

0 comments on commit 1c33afe

Please sign in to comment.