Skip to content

Commit

Permalink
e9compile: add var include_examples_path
Browse files Browse the repository at this point in the history
  • Loading branch information
milahu committed Feb 6, 2024
1 parent 09e0c7e commit c241ed4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e9compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

include_examples_path="examples/"

if [ -t 1 ]
then
RED=$'\033[31m'
Expand Down Expand Up @@ -66,7 +68,7 @@ CFLAGS=(
-fpie -O2 -Wno-unused-function -U_FORTIFY_SOURCE
-mno-mmx -mno-sse -mno-avx -mno-avx2 -mno-avx512f -msoft-float
-mstringop-strategy=loop -fno-tree-vectorize -fomit-frame-pointer
-I examples/
-I "$include_examples_path"
)
COMPILE=("$CC" "${CFLAGS[@]}" -c -Wall "$@" "$1")

Expand Down

0 comments on commit c241ed4

Please sign in to comment.