summaryrefslogtreecommitdiffstats
path: root/scripts/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gdb')
-rw-r--r--scripts/gdb/gdb.add2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gdb/gdb.add b/scripts/gdb/gdb.add
index ed6664e285..d8aaa32f78 100644
--- a/scripts/gdb/gdb.add
+++ b/scripts/gdb/gdb.add
@@ -38,7 +38,7 @@ BuildPreReq: ncurses-devel
# your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
# Or you can try the ftp options of rpm :-)
#
-NoSource: 0
+%{?!_with_sources:NoSource: 0}
# Account as best possible for targets without simulators
# and targets which require extra arguments.