protected String getGlobalLinkerFlags() {
		final StringBuilder builder = new StringBuilder();
		if (globalOverrideLinkerFlags == null
				|| globalOverrideLinkerFlags.isEmpty()) {
			if (parent != null)
				builder.append(parent.getGlobalLinkerFlags());
			else
				builder.append(config.ldflags());
		} else {
			builder.append(globalOverrideLinkerFlags);
		}
		if (globalLinkerFlags != null && !globalLinkerFlags.isEmpty()) {
			if (builder.length() > 0)
				builder.append(' ');
			builder.append(globalLinkerFlags);
		}
		String dyn = getDynLinkerFlags();
		if (!dyn.isEmpty()) {
			if (builder.length() > 0)
				builder.append(' ');
			builder.append(dyn);
		}
		return builder.toString();
	}