build remove -f to hostname since some OS don't support it
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
f098790224
commit
400b61677d
|
@ -116,7 +116,7 @@ endif()
|
||||||
|
|
||||||
# {{{ Get hostname
|
# {{{ Get hostname
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND ${HOSTNAME_EXECUTABLE} -f
|
COMMAND ${HOSTNAME_EXECUTABLE}
|
||||||
WORKING_DIRECTORY ${SOURCE_DIR}
|
WORKING_DIRECTORY ${SOURCE_DIR}
|
||||||
OUTPUT_VARIABLE BUILDHOSTNAME
|
OUTPUT_VARIABLE BUILDHOSTNAME
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
|
|
Loading…
Reference in New Issue