X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/92dbfd6659bb51f2e7525347cc870047d4cac2ba..a2ab0fd327b427d1f537cb7bc79de985fae3a0f5:/debug.sh?ds=sidebyside diff --git a/debug.sh b/debug.sh index e50a1a9..0a537ba 100755 --- a/debug.sh +++ b/debug.sh @@ -1,4 +1,24 @@ -#!/bin/bash +#!/usr/bin/env bash + +# Cycript - Optimizing JavaScript Compiler/Runtime +# Copyright (C) 2009-2015 Jay Freeman (saurik) + +# GNU Affero General Public License, Version 3 {{{ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# }}} + flags='-g3 -O0' export CFLAGS=$flags export CXXFLAGS=$flags