Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | Change the order of linker flags such that -shared is appearig after -pie/-fpie |
| 2 | this helps in building the package when secuiry flags are enabled |
| 3 | |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame^] | 4 | Upstream-Status: Pending |
| 5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 6 | |
| 7 | Index: caps-0.9.24/Makefile |
| 8 | =================================================================== |
| 9 | --- caps-0.9.24.orig/Makefile |
| 10 | +++ caps-0.9.24/Makefile |
| 11 | @@ -14,7 +14,7 @@ STRIP = strip |
| 12 | -include defines.make |
| 13 | |
| 14 | CFLAGS += $(OPTS) $(_CFLAGS) |
| 15 | -LDFLAGS += $(_LDFLAGS) $(CFLAGS) |
| 16 | +LDFLAGS += $(CFLAGS) $(_LDFLAGS) |
| 17 | |
| 18 | PLUG = caps |
| 19 | |