config: Fix the check to disable the gdb simulator.

Check to see if the macro is defined. If not defined define
it with the simulator enabled.
This commit is contained in:
Chris Johns 2014-06-02 16:01:39 +10:00
parent 3a0e5615fa
commit 46506f1087

View File

@ -4,7 +4,10 @@
# This configuration file configure's, make's and install's gdb.
#
%if %{gdb-disable-sim} == %{nil}
#
# Default to building simulators.
#
%ifn %{defined gdb-disable-sim}
%define gdb-disable-sim 0
%endif