Skip to content

Commit 6048a21

Browse files
committed
e9compile: add var include_examples_path
1 parent ad87eba commit 6048a21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

e9compile.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# You should have received a copy of the GNU General Public License
1616
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717

18+
include_examples_path="examples/"
19+
1820
if [ -t 1 ]
1921
then
2022
RED=$'\033[31m'
@@ -67,7 +69,7 @@ CFLAGS=(
6769
-fpie -O2 -Wno-unused-function -U_FORTIFY_SOURCE
6870
-mno-mmx -mno-sse -mno-avx -mno-avx2 -mno-avx512f -msoft-float
6971
-mstringop-strategy=loop -fno-tree-vectorize -fomit-frame-pointer
70-
-I examples/
72+
-I "$include_examples_path"
7173
)
7274
COMPILE=("$CC" "${CFLAGS[@]}" -c -Wall "$@" "$SOURCE")
7375

0 commit comments

Comments
 (0)