]> rtime.felk.cvut.cz Git - omk.git/blob - tests/programs-cflags-cmdline
3214ecf321de2f25f3ea8921af4a46aeb7dfa08d
[omk.git] / tests / programs-cflags-cmdline
1 #!/bin/bash
2
3 . ./functions.sh
4
5 touch config.omk-default
6 needs_valid_CC
7 make CFLAGS="-DNONSENSE=abc -DNUMBER=123"||error "Can't compile"
8 [ $OMK_RULES != linux ] && canttest "Should work only with Linux rules"
9 _compiled/bin/test|grep 123 || error "Custom CFLAGS didn't influence the output"